stdafx.h
changeset 2483 ee0517ddfa92
parent 2482 dffcca243dbc
child 2485 fd92a70a064a
equal deleted inserted replaced
2482:dffcca243dbc 2483:ee0517ddfa92
   134 #	ifndef _W64
   134 #	ifndef _W64
   135 #		define _W64
   135 #		define _W64
   136 #	endif
   136 #	endif
   137 typedef _W64 int INT_PTR, *PINT_PTR;
   137 typedef _W64 int INT_PTR, *PINT_PTR;
   138 typedef _W64 unsigned int UINT_PTR, *PUINT_PTR;
   138 typedef _W64 unsigned int UINT_PTR, *PUINT_PTR;
       
   139 
       
   140 #ifndef _INTPTR_T_DEFINED
       
   141 #ifdef  _WIN64
       
   142 typedef __int64             intptr_t;
       
   143 #else
       
   144 typedef _W64 int            intptr_t;
       
   145 #endif
       
   146 #define _INTPTR_T_DEFINED
       
   147 #endif
       
   148 
   139 #endif
   149 #endif
   140 
   150 
   141 // Windows has always LITTLE_ENDIAN
   151 // Windows has always LITTLE_ENDIAN
   142 #if defined(WIN32) || defined(__OS2__) || defined(WIN64)
   152 #if defined(WIN32) || defined(__OS2__) || defined(WIN64)
   143   #define TTD_LITTLE_ENDIAN
   153   #define TTD_LITTLE_ENDIAN