Ignore:
Timestamp:
Aug 17, 2010, 11:48:28 PM (15 years ago)
Author:
dmik
Message:

Make sure basetsd.h is eventually included by windows.h (for compatibility with current Windows SDK versions).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/windef.h

    r21397 r21421  
    1818#include <wchar.h>
    1919#endif
     20
     21#include <basetsd.h>
    2022
    2123#ifdef __cplusplus
     
    220222typedef void            VOID;
    221223#endif
    222 typedef short           INT16;
    223 typedef unsigned short  UINT16;
    224224typedef int             INT;
    225 
    226 #ifndef INT_PTR_D
    227 #define INT_PTR_D
    228 typedef int             INT_PTR, *PINT_PTR;
    229 #endif
    230225typedef unsigned int    UINT;
    231 typedef signed int      INT32;
    232 #ifndef UINT_PTR_D
    233 #define UINT_PTR_D
    234 typedef unsigned int    UINT_PTR, *PUINT_PTR;
    235 #endif
    236226typedef unsigned short  WORD;
    237227typedef unsigned long   DWORD;
    238 #ifndef DWORD_PTR_D
    239 #define DWORD_PTR_D
    240 typedef unsigned long   DWORD_PTR, *PDWORD_PTR;
    241 #endif
    242228typedef unsigned long   ULONG;
    243229typedef unsigned char   BYTE;
     
    260246#endif
    261247typedef double          DATE;
    262 typedef long            LONG_PTR;
    263 typedef unsigned long   ULONG_PTR;
    264248typedef double          DOUBLE;
    265249#if (__IBMC__ < 360) && (__IBMCPP__ < 360) && !defined (__EMX__)
     
    325309typedef DWORD           LCTYPE;
    326310typedef float           FLOAT;
    327 #ifdef __WIN32OS2__
    328 #if (__IBMC__ < 400) && (__IBMCPP__ < 360) && !defined(__WATCOMC__) && !defined(__EMX__)
    329 typedef double          __int64;
    330 #elif defined (__EMX__)
    331 typedef long long       __int64;
    332 #endif
    333 #else
    334 typedef long long       __int64;
    335 #endif
    336311
    337312/* Pointers types. These are the same for emulator and library. */
Note: See TracChangeset for help on using the changeset viewer.