diff options
author | Daniel Wilhelm <shieldwed@outlook.com> | 2019-10-28 23:21:40 +0000 |
---|---|---|
committer | Daniel Wilhelm <shieldwed@outlook.com> | 2019-10-28 23:21:40 +0000 |
commit | 8d6d4e48a61fd974c3fb2a85254f9bedd796a2b7 (patch) | |
tree | 65292208a81994782e1c16dd84dfcdcc221d0cd7 /zen/warn_static.h | |
parent | Merge branch '10.16' into 'master' (diff) | |
parent | add upstream 10.17 (diff) | |
download | FreeFileSync-8d6d4e48a61fd974c3fb2a85254f9bedd796a2b7.tar.gz FreeFileSync-8d6d4e48a61fd974c3fb2a85254f9bedd796a2b7.tar.bz2 FreeFileSync-8d6d4e48a61fd974c3fb2a85254f9bedd796a2b7.zip |
Merge branch '10.17' into 'master'10.17
10.17
See merge request opensource-tracking/FreeFileSync!14
Diffstat (limited to 'zen/warn_static.h')
-rw-r--r-- | zen/warn_static.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/zen/warn_static.h b/zen/warn_static.h index 17e7cf25..d5f78b5d 100644 --- a/zen/warn_static.h +++ b/zen/warn_static.h @@ -8,17 +8,18 @@ #define WARN_STATIC_H_08724567834560832745 /* - Portable Compile-Time Warning - ----------------------------- - Usage: - warn_static("my message") + Portable Compile-Time Warning + ----------------------------- + Usage: + warn_static("my message") */ -#define ZEN_STATIC_WARNING_STRINGIZE(NUM) #NUM +#define ZEN_STRINGIZE_STRING(NUM) #NUM +#define ZEN_STRINGIZE_NUMBER(NUM) ZEN_STRINGIZE_STRING(NUM) #if defined __GNUC__ //Clang also defines __GNUC__! #define warn_static(MSG) \ - _Pragma(ZEN_STATIC_WARNING_STRINGIZE(GCC warning MSG)) + _Pragma(ZEN_STRINGIZE_STRING(GCC warning MSG)) #endif #endif //WARN_STATIC_H_08724567834560832745 |