physfs.h
changeset 160 b17e94892394
parent 147 5e1eda65ceb3
child 178 e71b33bc440f
equal deleted inserted replaced
159:a893392b1628 160:b17e94892394
   127  */
   127  */
   128 
   128 
   129 #ifndef _INCLUDE_PHYSFS_H_
   129 #ifndef _INCLUDE_PHYSFS_H_
   130 #define _INCLUDE_PHYSFS_H_
   130 #define _INCLUDE_PHYSFS_H_
   131 
   131 
       
   132 #ifdef _WIN32
       
   133 #include <windows.h>
       
   134 #endif
       
   135 
   132 #ifdef __cplusplus
   136 #ifdef __cplusplus
   133 extern "C" {
   137 extern "C" {
   134 #endif
   138 #endif
   135 
   139 
   136 #if (defined _MSC_VER)
   140 #if (defined _MSC_VER)
   149 typedef signed int            PHYSFS_sint32;
   153 typedef signed int            PHYSFS_sint32;
   150 
   154 
   151 #ifdef PHYSFS_NO_64BIT_SUPPORT  /* oh well. */
   155 #ifdef PHYSFS_NO_64BIT_SUPPORT  /* oh well. */
   152 typedef PHYSFS_uint32         PHYSFS_uint64;
   156 typedef PHYSFS_uint32         PHYSFS_uint64;
   153 typedef PHYSFS_sint32         PHYSFS_sint64;
   157 typedef PHYSFS_sint32         PHYSFS_sint64;
       
   158 #elif _WIN32
       
   159 /*!!! No 64-bit unsigned in Win32???? */
       
   160 typedef LONGLONG              PHYSFS_sint64;
       
   161 typedef LONGLONG              PHYSFS_uint64;
   154 #else
   162 #else
   155 typedef unsigned long long    PHYSFS_uint64;
   163 typedef unsigned long long    PHYSFS_uint64;
   156 typedef signed long long      PHYSFS_sint64;
   164 typedef signed long long      PHYSFS_sint64;
   157 #endif
   165 #endif
   158 
   166