diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-10-07 11:02:21 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-10-07 11:02:21 -0400 |
commit | 6853e627f12de21b38a178def14c067435517d96 (patch) | |
tree | 74a7142b2266b992b432bab674e412ddb3464db7 /src/main.h | |
parent | e9b95e4f6c35cb0f150ff7e70154668f142ee0ba (diff) |
Fix build on windows and mac
Replaced all occurrences of #if* __WXMSW__ with WIN32,
and all occurrences of __WXMAC_OSX__ with MAC_OSX, and made
sure those are defined appropriately in the makefile and bitcoin-qt.pro.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 329035dc5a..60ca318381 100644 --- a/src/main.h +++ b/src/main.h @@ -927,7 +927,7 @@ public: fflush(fileout); if (!IsInitialBlockDownload() || (nBestHeight+1) % 500 == 0) { -#ifdef __WXMSW__ +#ifdef WIN32 _commit(_fileno(fileout)); #else fsync(fileno(fileout)); |