diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-01-16 19:23:00 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-01-16 19:23:00 +0000 |
commit | ad9b3c3814e92a2bb1ce1cd114328d5de741c33d (patch) | |
tree | ea1f1433119ed0d6c39df0233847f67519deca3b /w32 | |
parent | 56810e175c26cb40f8b7df2fdcf7a7defd6bbabe (diff) | |
download | libmicrohttpd-ad9b3c3814e92a2bb1ce1cd114328d5de741c33d.tar.gz libmicrohttpd-ad9b3c3814e92a2bb1ce1cd114328d5de741c33d.zip |
Use only US-ASCII charset when comparing stings as caseless as required by standard.
Comparisons for HTTP headers must not be affected by locale settings.
Diffstat (limited to 'w32')
-rw-r--r-- | w32/common/MHD_config.h | 10 | ||||
-rw-r--r-- | w32/common/libmicrohttpd-files.vcxproj | 2 | ||||
-rw-r--r-- | w32/common/libmicrohttpd-filters.vcxproj | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/w32/common/MHD_config.h b/w32/common/MHD_config.h index fd23da2c..c5b32e72 100644 --- a/w32/common/MHD_config.h +++ b/w32/common/MHD_config.h | |||
@@ -9,6 +9,16 @@ | |||
9 | /* Define if MS VC compiler is used */ | 9 | /* Define if MS VC compiler is used */ |
10 | #define MSVC 1 | 10 | #define MSVC 1 |
11 | 11 | ||
12 | /* Define to type which will be used as boolean type. */ | ||
13 | #define _MHD_bool _Bool | ||
14 | |||
15 | /* Define to 1 if your C compiler supports inline functions. */ | ||
16 | #define INLINE_FUNC 1 | ||
17 | |||
18 | /* Define to prefix which will be used with MHD inline functions. */ | ||
19 | #define _MHD_inline static __forceinline | ||
20 | |||
21 | |||
12 | /* *** MHD configuration *** */ | 22 | /* *** MHD configuration *** */ |
13 | /* Undef to disable feature */ | 23 | /* Undef to disable feature */ |
14 | 24 | ||
diff --git a/w32/common/libmicrohttpd-files.vcxproj b/w32/common/libmicrohttpd-files.vcxproj index bf074ae3..7c451823 100644 --- a/w32/common/libmicrohttpd-files.vcxproj +++ b/w32/common/libmicrohttpd-files.vcxproj | |||
@@ -15,6 +15,7 @@ | |||
15 | <ClCompile Include="$(MhdSrc)microhttpd\response.c" /> | 15 | <ClCompile Include="$(MhdSrc)microhttpd\response.c" /> |
16 | <ClCompile Include="$(MhdSrc)microhttpd\tsearch.c" /> | 16 | <ClCompile Include="$(MhdSrc)microhttpd\tsearch.c" /> |
17 | <ClCompile Include="$(MhdSrc)microhttpd\sysfdsetsize.c" /> | 17 | <ClCompile Include="$(MhdSrc)microhttpd\sysfdsetsize.c" /> |
18 | <ClCompile Include="$(MhdSrc)microhttpd\mhd_str.c" /> | ||
18 | <ClCompile Include="$(MhdSrc)platform\w32functions.c" /> | 19 | <ClCompile Include="$(MhdSrc)platform\w32functions.c" /> |
19 | </ItemGroup> | 20 | </ItemGroup> |
20 | <ItemGroup> | 21 | <ItemGroup> |
@@ -34,6 +35,7 @@ | |||
34 | <ClInclude Include="$(MhdSrc)microhttpd\response.h" /> | 35 | <ClInclude Include="$(MhdSrc)microhttpd\response.h" /> |
35 | <ClInclude Include="$(MhdSrc)microhttpd\tsearch.h" /> | 36 | <ClInclude Include="$(MhdSrc)microhttpd\tsearch.h" /> |
36 | <ClInclude Include="$(MhdSrc)microhttpd\sysfdsetsize.h" /> | 37 | <ClInclude Include="$(MhdSrc)microhttpd\sysfdsetsize.h" /> |
38 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_str.h" /> | ||
37 | <ClInclude Include="$(MhdW32Common)MHD_config.h" /> | 39 | <ClInclude Include="$(MhdW32Common)MHD_config.h" /> |
38 | </ItemGroup> | 40 | </ItemGroup> |
39 | <ItemGroup> | 41 | <ItemGroup> |
diff --git a/w32/common/libmicrohttpd-filters.vcxproj b/w32/common/libmicrohttpd-filters.vcxproj index 36816216..27ee4804 100644 --- a/w32/common/libmicrohttpd-filters.vcxproj +++ b/w32/common/libmicrohttpd-filters.vcxproj | |||
@@ -121,6 +121,12 @@ | |||
121 | <ClCompile Include="$(MhdSrc)microhttpd\sysfdsetsize.c"> | 121 | <ClCompile Include="$(MhdSrc)microhttpd\sysfdsetsize.c"> |
122 | <Filter>Source Files</Filter> | 122 | <Filter>Source Files</Filter> |
123 | </ClCompile> | 123 | </ClCompile> |
124 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_str.h"> | ||
125 | <Filter>Source Files</Filter> | ||
126 | </ClInclude> | ||
127 | <ClCompile Include="$(MhdSrc)microhttpd\mhd_str.c"> | ||
128 | <Filter>Source Files</Filter> | ||
129 | </ClCompile> | ||
124 | </ItemGroup> | 130 | </ItemGroup> |
125 | <ItemGroup> | 131 | <ItemGroup> |
126 | <ResourceCompile Include="$(MhdW32Common)microhttpd_dll_res_vc.rc"> | 132 | <ResourceCompile Include="$(MhdW32Common)microhttpd_dll_res_vc.rc"> |