[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 134/156: W32 VS projects: fixed: define 'WIN32' only on
From: |
gnunet |
Subject: |
[libmicrohttpd] 134/156: W32 VS projects: fixed: define 'WIN32' only on x32 platforms |
Date: |
Sun, 28 May 2023 17:53:07 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.
commit c9ee520e5a9c4cd46b70de67c5cc989fd5fbc272
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon May 1 15:29:37 2023 +0300
W32 VS projects: fixed: define 'WIN32' only on x32 platforms
---
w32/common/common-build-settings.vcxproj | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/w32/common/common-build-settings.vcxproj
b/w32/common/common-build-settings.vcxproj
index 4692b8aa..f6106c49 100644
--- a/w32/common/common-build-settings.vcxproj
+++ b/w32/common/common-build-settings.vcxproj
@@ -5,6 +5,8 @@
Only 0 and 1 are used currently -->
<TargetOSLevel
Condition="$(PlatformToolset.EndsWith('_xp'))">0</TargetOSLevel>
<TargetOSLevel Condition="!
$(PlatformToolset.EndsWith('_xp'))">1</TargetOSLevel>
+ <MhdNumBits Condition="$(Platform.EndsWith('64'))">64</MhdNumBits>
+ <MhdNumBits Condition="! $(Platform.EndsWith('64'))">32</MhdNumBits>
</PropertyGroup>
<PropertyGroup>
<IncludePath>$(SolutionDir);$(MhdW32Common);$(MhdSrc)include;$(IncludePath)</IncludePath>
@@ -23,8 +25,8 @@
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
-
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DisableSpecificWarnings>4996;4820;4127;5045</DisableSpecificWarnings>
<TreatSpecificWarningsAsErrors>4013</TreatSpecificWarningsAsErrors>
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
@@ -34,6 +36,11 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(MhdNumBits)' == '32'">
+ <ClCompile>
+
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(TargetOSLevel)'>'0'">
<ClCompile>
<PreprocessorDefinitions>_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 116/156: examples/sessions.c: removed non-portable function, (continued)
- [libmicrohttpd] 116/156: examples/sessions.c: removed non-portable function, gnunet, 2023/05/28
- [libmicrohttpd] 132/156: W32 VS projects: unified output and intermediate directories, gnunet, 2023/05/28
- [libmicrohttpd] 133/156: W32 VS projects: disabled specific compiler warning on ARM, gnunet, 2023/05/28
- [libmicrohttpd] 111/156: test_timeout: moved to heavy tests, gnunet, 2023/05/28
- [libmicrohttpd] 97/156: test_put_header_fold: adopted to new libcurl API, gnunet, 2023/05/28
- [libmicrohttpd] 119/156: configure: fixed detection of __FUNCTION__ magic macro, gnunet, 2023/05/28
- [libmicrohttpd] 123/156: test_client_put_stop: muted compiler warnings, gnunet, 2023/05/28
- [libmicrohttpd] 124/156: testcurl/https: removed enforcement of TLS version and cipher, gnunet, 2023/05/28
- [libmicrohttpd] 128/156: websocket_threaded_example: fixed wrong commented-out code, gnunet, 2023/05/28
- [libmicrohttpd] 130/156: test_client_put_stop: fixed typo in diag message, gnunet, 2023/05/28
- [libmicrohttpd] 134/156: W32 VS projects: fixed: define 'WIN32' only on x32 platforms,
gnunet <=
- [libmicrohttpd] 137/156: ChangeLog: updated, gnunet, 2023/05/28
- [libmicrohttpd] 91/156: autoinit_funcs.h: added more macros checks for platform identification, gnunet, 2023/05/28
- [libmicrohttpd] 122/156: tests: fixed code style, gnunet, 2023/05/28
- [libmicrohttpd] 121/156: tests: unified use of function name macros, gnunet, 2023/05/28
- [libmicrohttpd] 127/156: Updated test keys to use SHA-256 hash instead of SHA-1, gnunet, 2023/05/28
- [libmicrohttpd] 135/156: W32 VS projects: target Win8 or later on ARM and ARM64 arches, gnunet, 2023/05/28
- [libmicrohttpd] 136/156: W32 VS projects: added ARM and ARM64 configurations, gnunet, 2023/05/28
- [libmicrohttpd] 102/156: configure: removed 'gettext' from the final report, gnunet, 2023/05/28
- [libmicrohttpd] 109/156: test_client_put_stop: avoid stress-testing the OS, gnunet, 2023/05/28
- [libmicrohttpd] 115/156: test_post: fixed caseless key name match, gnunet, 2023/05/28