From 0c4606973eec062d8d74b085795677dd1ab60104 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Wed, 2 Mar 2022 19:19:24 +0100 Subject: [PATCH] Make basename() fully compliant and simplify it a bit --- src/common/header/shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/header/shared.h b/src/common/header/shared.h index d008195..23e4af2 100644 --- a/src/common/header/shared.h +++ b/src/common/header/shared.h @@ -69,7 +69,7 @@ typedef unsigned char byte; // then the __STDC_VERSION__ >= 201112L case above is used #define YQ2_ALIGNAS_SIZE(SIZE) __declspec(align(SIZE)) - // FIXME: for some reason, the following line doesn't work, which is why we require C11 support for MSVC + // FIXME: for some reason, the following line doesn't work //#define YQ2_ALIGNAS_TYPE( TYPE ) __declspec(align(__alignof(TYPE))) #ifdef _WIN64 // (hopefully) good enough workaround