diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-11 15:21:11 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-11 15:21:11 +0000 |
commit | ee182a0b2995f562637f8c97f4591f6d55c4a0fb (patch) | |
tree | 21178baa04b3afc25f90a3fc8e7e11f8f583b7bb /w32 | |
parent | ec820265a0b7f40fda6be51fbd7b8b0264aab4e9 (diff) | |
download | libmicrohttpd-ee182a0b2995f562637f8c97f4591f6d55c4a0fb.tar.gz libmicrohttpd-ee182a0b2995f562637f8c97f4591f6d55c4a0fb.zip |
Use MHD_itc_activate_ macro for ITC signaling, move ITC types to separate
header.
Separate header allow exclusion of heavy headers in internal.h, which is
included by most source files.
Fixed checking success of write() to eventFD by comparing result to 1.
Fixed error when trying to signal on fully filled ITC (ITC is already in
activated (signaled) state and those conditions are not an error).
EventFD is signaled now by macro, not a function.
Diffstat (limited to 'w32')
-rw-r--r-- | w32/common/libmicrohttpd-files.vcxproj | 1 | ||||
-rw-r--r-- | w32/common/libmicrohttpd-filters.vcxproj | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/w32/common/libmicrohttpd-files.vcxproj b/w32/common/libmicrohttpd-files.vcxproj index 2a615196..6f1e03bc 100644 --- a/w32/common/libmicrohttpd-files.vcxproj +++ b/w32/common/libmicrohttpd-files.vcxproj | |||
@@ -42,6 +42,7 @@ | |||
42 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_locks.h" /> | 42 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_locks.h" /> |
43 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_sockets.h" /> | 43 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_sockets.h" /> |
44 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_itc.h" /> | 44 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_itc.h" /> |
45 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_itc_types.h" /> | ||
45 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_compat.h" /> | 46 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_compat.h" /> |
46 | <ClInclude Include="$(MhdW32Common)MHD_config.h" /> | 47 | <ClInclude Include="$(MhdW32Common)MHD_config.h" /> |
47 | </ItemGroup> | 48 | </ItemGroup> |
diff --git a/w32/common/libmicrohttpd-filters.vcxproj b/w32/common/libmicrohttpd-filters.vcxproj index 2bb47bfd..d0c47073 100644 --- a/w32/common/libmicrohttpd-filters.vcxproj +++ b/w32/common/libmicrohttpd-filters.vcxproj | |||
@@ -132,6 +132,9 @@ | |||
132 | <ClCompile Include="$(MhdSrc)microhttpd\mhd_sockets.c"> | 132 | <ClCompile Include="$(MhdSrc)microhttpd\mhd_sockets.c"> |
133 | <Filter>Source Files</Filter> | 133 | <Filter>Source Files</Filter> |
134 | </ClCompile> | 134 | </ClCompile> |
135 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_itc_types.h"> | ||
136 | <Filter>Source Files</Filter> | ||
137 | </ClInclude> | ||
135 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_itc.h"> | 138 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_itc.h"> |
136 | <Filter>Source Files</Filter> | 139 | <Filter>Source Files</Filter> |
137 | </ClInclude> | 140 | </ClInclude> |