//---------------------------------------------------------
#ifndef WIN32
typedef unsigned char UCHAR;
typedef unsigned char* PBYTE;
typedef char* LPTSTR;
typedef unsigned short USHORT;
typedef int HANDLE;
typedef unsigned long ULONG;
typedef unsigned long DWORD;
typedef unsigned char BYTE;
typedef int BOOL;
typedef unsigned short WORD;
typedef long LONG;
typedef int INT;
typedef unsigned int UINT;
typedef unsigned int HWND;
typedef unsigned short UINT16;
#endif /* WIN32 */
//---------------------------------------------------------
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef NULL
#define NULL 0
#endif
//---------------------------------------------------------
Windows转linux 常见数据类型宏定义
猜你喜欢
转载自blog.csdn.net/Lasuerte/article/details/82658626
今日推荐
周排行