|
|
| version 1.35, 2006/12/24 07:53:01 | version 1.39, 2011/02/17 10:36:05 |
|---|---|
| Line 1 | Line 1 |
| /** | |
| #pragma warning (disable: 4819) | * @file compiler.h |
| * @brief include file for standard system include files, | |
| * or project specific include files that are used frequently, | |
| * but are changed infrequently | |
| * | |
| * @author $Author$ | |
| * @date $Date$ | |
| */ | |
| #define _WIN32_IE 0x0200 | #define _WIN32_IE 0x0200 |
| #include <windows.h> | #include <windows.h> |
| #include <tchar.h> | #if !defined(__GNUC__) |
| #include <stdio.h> | #include <tchar.h> |
| #include <stddef.h> | #endif // !defined(__GNUC__) |
| #include <setjmp.h> | #include <stdio.h> |
| #include <stddef.h> | |
| #include <setjmp.h> | |
| #if defined(TRACE) | #if defined(TRACE) |
| #include <assert.h> | #include <assert.h> |
| #endif | #endif |
| #ifndef _T | |
| #define _T(x) TEXT(x) | |
| #endif // !_T | |
| #define BYTESEX_LITTLE | #define BYTESEX_LITTLE |
| #if !defined(OSLANG_UTF8) | #if !defined(OSLANG_UTF8) |
| #if !defined(_UNICODE) | #if !defined(_UNICODE) |
| Line 38 typedef unsigned __int64 UINT64; | Line 51 typedef unsigned __int64 UINT64; |
| #define snprintf _snprintf | #define snprintf _snprintf |
| #define vsnprintf _vsnprintf | #define vsnprintf _vsnprintf |
| #else | #else |
| #include <stdlib.h> | #include <stdlib.h> |
| typedef signed int SINT; | typedef signed int SINT; |
| typedef signed char SINT8; | typedef signed char SINT8; |
| typedef unsigned char UINT8; | typedef unsigned char UINT8; |
| Line 56 typedef signed __int64 SINT64; | Line 69 typedef signed __int64 SINT64; |
| #define STOREINTELDWORD(a, b) *(UINT32 *)(a) = (b) | #define STOREINTELDWORD(a, b) *(UINT32 *)(a) = (b) |
| #define STOREINTELWORD(a, b) *(UINT16 *)(a) = (b) | #define STOREINTELWORD(a, b) *(UINT16 *)(a) = (b) |
| #if !defined(__GNUC__) | |
| #define sigjmp_buf jmp_buf | #define sigjmp_buf jmp_buf |
| #define sigsetjmp(env, mask) setjmp(env) | #define sigsetjmp(env, mask) setjmp(env) |
| #define siglongjmp(env, val) longjmp(env, val) | #define siglongjmp(env, val) longjmp(env, val) |
| #endif // !defined(__GNUC__) | |
| #define msgbox(title, msg) __msgbox(title, msg) | #define msgbox(title, msg) __msgbox(title, msg) |
| #define STRCALL __stdcall | #define STRCALL __stdcall |
| Line 76 typedef signed __int64 SINT64; | Line 91 typedef signed __int64 SINT64; |
| #define OEMSTRLEN strlen | #define OEMSTRLEN strlen |
| #endif | #endif |
| #include "common.h" | |
| #include "common.h" | #include "win32sub.h" |
| #include "win32sub.h" | #include "milstr.h" |
| #include "milstr.h" | #include "_memory.h" |
| #include "_memory.h" | #include "rect.h" |
| #include "rect.h" | #include "lstarray.h" |
| #include "lstarray.h" | #include "trace.h" |
| #include "trace.h" | |
| #define GETTICK() GetTickCount() | #define GETTICK() GetTickCount() |
| #if defined(TRACE) | #if defined(TRACE) |
| Line 164 typedef signed __int64 SINT64; | Line 177 typedef signed __int64 SINT64; |
| #define SOUNDRESERVE 20 | #define SOUNDRESERVE 20 |
| #define SUPPORT_TEXTCNV | #define SUPPORT_TEXTCNV |