physfs.h
changeset 160 b17e94892394
parent 147 5e1eda65ceb3
child 178 e71b33bc440f
--- a/physfs.h	Wed Apr 03 04:15:24 2002 +0000
+++ b/physfs.h	Wed Apr 03 04:17:54 2002 +0000
@@ -129,6 +129,10 @@
 #ifndef _INCLUDE_PHYSFS_H_
 #define _INCLUDE_PHYSFS_H_
 
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -151,6 +155,10 @@
 #ifdef PHYSFS_NO_64BIT_SUPPORT  /* oh well. */
 typedef PHYSFS_uint32         PHYSFS_uint64;
 typedef PHYSFS_sint32         PHYSFS_sint64;
+#elif _WIN32
+/*!!! No 64-bit unsigned in Win32???? */
+typedef LONGLONG              PHYSFS_sint64;
+typedef LONGLONG              PHYSFS_uint64;
 #else
 typedef unsigned long long    PHYSFS_uint64;
 typedef signed long long      PHYSFS_sint64;