0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 20:03:13 +02:00
openvpn/doc/doxygen
Gert Doering 445b192a7c Replace WIN32 by _WIN32
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>
2016-11-15 09:38:06 +01:00
..
doc_compression.h build: proper lzo detection and usage 2012-03-22 22:17:27 +01:00
doc_control_processor.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_control_tls.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_data_control.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_data_crypto.h Remove ENABLE_SSL define (and --disable-ssl configure option) 2014-12-31 17:36:54 +01:00
doc_eventloop.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_external_multiplexer.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_fragmentation.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_internal_multiplexer.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_key_generation.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_mainpage.h Update doxygen (a bit) 2014-12-07 19:57:04 +01:00
doc_memory_management.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_protocol_overview.h Update doxygen (a bit) 2014-12-07 19:57:04 +01:00
doc_reliable.h build: standard directory layout 2012-03-22 22:07:08 +01:00
doc_tunnel_state.h build: standard directory layout 2012-03-22 22:07:08 +01:00
openvpn.doxyfile Replace WIN32 by _WIN32 2016-11-15 09:38:06 +01:00