git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix build on windows and mac
[novacoin.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index
329035d
..
60ca318
100644
(file)
--- 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));