diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-12-12 01:21:05 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-12-12 01:21:05 +0100 |
commit | 7ea8a3310e44d1ee3f455c3c1a1c630ca54057b3 (patch) | |
tree | 0a6af2275edf2e1bbec72f651a589763232c6ce2 /w32 | |
parent | 273a6df932af73d7c84fef8668a53b2e65311e24 (diff) | |
download | libmicrohttpd-7ea8a3310e44d1ee3f455c3c1a1c630ca54057b3.tar.gz libmicrohttpd-7ea8a3310e44d1ee3f455c3c1a1c630ca54057b3.zip |
avoid c99-style comments in examples, fix missed VLA
Diffstat (limited to 'w32')
-rw-r--r-- | w32/common/MHD_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/w32/common/MHD_config.h b/w32/common/MHD_config.h index 964df10d..191a6cf9 100644 --- a/w32/common/MHD_config.h +++ b/w32/common/MHD_config.h | |||
@@ -10,7 +10,9 @@ | |||
10 | #define MSVC 1 | 10 | #define MSVC 1 |
11 | 11 | ||
12 | /* Define that MS VC does not support VLAs */ | 12 | /* Define that MS VC does not support VLAs */ |
13 | #ifndef __clang__ | ||
13 | #define __STDC_NO_VLA__ 1 | 14 | #define __STDC_NO_VLA__ 1 |
15 | #endif | ||
14 | 16 | ||
15 | /* Define to 1 if your C compiler supports inline functions. */ | 17 | /* Define to 1 if your C compiler supports inline functions. */ |
16 | #define INLINE_FUNC 1 | 18 | #define INLINE_FUNC 1 |