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 2022-11-20 14:22:42 -05:00
1 parent 864e2a3edc
commit dfc5fcc16a
27 files changed
+44 -42

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
@@ -549,7 +549,7 @@ void ConfigurationState::generate_all_config_proto(IConfigLog &log) {
&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