mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 12:02:28 +02:00
445b192a7c
With c99, "WIN32" is no longer automatically defined when (cross-)building for Windows, and proper compilation relies on including <windefs.h>, before checking the macro. "_WIN32" is the official define that is guaranteed to be defined by the compiler itself, no includes are needed. So, mechanically change all occurrances of "WIN32" to "_WIN32". While at it, get rid of unused WIN32_0_1 #define in syshead.h See also: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefi ned_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW Trac #746 v2: rebased to master, merge the console[_builtin].c changes Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Steffan Karger <steffan.karger@fox-it.com> Message-Id: <20161113195228.74090-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13035.html Signed-off-by: Gert Doering <gert@greenie.muc.de> |
||
---|---|---|
.. | ||
doc_compression.h | ||
doc_control_processor.h | ||
doc_control_tls.h | ||
doc_data_control.h | ||
doc_data_crypto.h | ||
doc_eventloop.h | ||
doc_external_multiplexer.h | ||
doc_fragmentation.h | ||
doc_internal_multiplexer.h | ||
doc_key_generation.h | ||
doc_mainpage.h | ||
doc_memory_management.h | ||
doc_protocol_overview.h | ||
doc_reliable.h | ||
doc_tunnel_state.h | ||
openvpn.doxyfile |