fix build (client): Change 'WIN32' macros to '_WIN32'

Not sure exactly how this broke, but the WIN32 macro is no longer defined.
This commit is contained in:
John Colvin committed 2023-01-02 18:42:39 -05:00
1 parent 35371fe971
commit 3b1a2357cc
27 files changed
+43 -43

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@
#include "lib/config_defaults.h"
#include "lib/config_proto_files.h"
#ifdef WIN32
#ifdef _WIN32
#include <Winsock2.h>
#include <d2d1.h>
#else
@@ -566,7 +566,7 @@ void ConfigurationState::generate_all_config_proto(
&bts_config_dp, config_message, message_desc, ++field_number);
}
} else {
#ifdef WIN32
#ifdef _WIN32
// on linux the linker might throw away config protos that
// are not used in sparkd. On windows we build a dll so that
// should not happen