diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-03 11:53:12 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-03 11:53:12 +0000 |
commit | 738ba14cc90436fa71d709f27ba8baa9b97897fc (patch) | |
tree | aa17fb209dc9d79b86e215b6072ed11e00985a81 /w32 | |
parent | b7cfbdeaf07b4d10f0f117d9fdf66b9f054a311c (diff) | |
download | libmicrohttpd-738ba14cc90436fa71d709f27ba8baa9b97897fc.tar.gz libmicrohttpd-738ba14cc90436fa71d709f27ba8baa9b97897fc.zip |
Add support for native snprintf() on W32.
Diffstat (limited to 'w32')
-rw-r--r-- | w32/common/MHD_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/w32/common/MHD_config.h b/w32/common/MHD_config.h index 2912f6c8..77ecf5fd 100644 --- a/w32/common/MHD_config.h +++ b/w32/common/MHD_config.h | |||
@@ -68,6 +68,11 @@ | |||
68 | /* Define to 1 if you have the `gmtime_s' function. */ | 68 | /* Define to 1 if you have the `gmtime_s' function. */ |
69 | #define HAVE_GMTIME_S 1 | 69 | #define HAVE_GMTIME_S 1 |
70 | 70 | ||
71 | #if _MSC_VER >= 1900 /* snprintf() supported natively since VS2015 */ | ||
72 | /* Define to 1 if you have the `snprintf' function. */ | ||
73 | #define HAVE_SNPRINTF 1 | ||
74 | #endif | ||
75 | |||
71 | 76 | ||
72 | /* *** Headers information *** */ | 77 | /* *** Headers information *** */ |
73 | /* Not really important as not used by code currently */ | 78 | /* Not really important as not used by code currently */ |