Log reason for non-standard transaction rejection
[novacoin.git] / src / serialize.h
index 3fa3ddf..31a2883 100644 (file)
 #include <boost/tuple/tuple_io.hpp>
 #endif
 
+#if defined __USE_MINGW_ANSI_STDIO
+#undef __USE_MINGW_ANSI_STDIO // This constant forces MinGW to conduct stupid behavior
+#endif
+#include <inttypes.h>
+
 #include "allocators.h"
 #include "version.h"
 
-#ifdef _MSC_VER
-#undef max
-#endif
-
-#include <inttypes.h>
 
 class CScript;
 class CDataStream;