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:
1 parent
35371fe971
commit
3b1a2357cc
27 files changed
+43
-43
No files matched your search
@@ -231,7 +231,7 @@ void FIX_timestamp(PTime const &t, std::string *out) {
|
||||
int frac_ms = t.time_of_day().total_milliseconds() - whole_ms;
|
||||
out->resize(sizeof("20121204-14:44:02.000"));
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
_snprintf(
|
||||
&(*out)[0], out->size(), "%04d%02d%02d-%02d:%02d:%02d.%03d",
|
||||
(int)t.date().year(), t.date().month().as_number(),
|
||||
|
||||
Reference in new issue
Block a user