(thanks to Winfried for his help)
[openjpeg.git] / indexer_JPIP / fix.c
index 9699bf6be2cf67c2a4ef409239d162b0e5a6cf27..6bf08c62959024501ac1348d070c47dd506b3ca8 100644 (file)
 
 #include "fix.h"
 
-#ifdef WIN32
+#ifdef _WIN32
+#include <windows.h>
+
 #define int64 __int64
 #else
 #define int64 long long
-#endif
+#endif /* _WIN32 */
 
 /// <summary>
 /// Multiply two fixed-precision rational numbers.