| version 1.37, 2008/02/17 01:29:17 | version 1.40, 2011/03/09 00:22:18 | 
| Line 1 | Line 1 | 
 |  | /** | 
 |  | * @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 | #include "targetver.h" | 
|  | #include <windows.h> | 
| #include        <windows.h> | #if !defined(__GNUC__) | 
| #include        <tchar.h> | #include <tchar.h> | 
| #include        <stdio.h> | #endif  // !defined(__GNUC__) | 
| #include        <stddef.h> | #include <stdio.h> | 
| #include        <setjmp.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 36  typedef unsigned __int64 UINT64; | Line 50  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 54  typedef signed __int64  SINT64; | Line 68  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 74  typedef signed __int64  SINT64; | Line 90  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 147  typedef signed __int64  SINT64; | Line 161  typedef signed __int64  SINT64; | 
 | #define SUPPORT_HOSTDRV | #define SUPPORT_HOSTDRV | 
 | #define SUPPORT_SASI | #define SUPPORT_SASI | 
 | #define SUPPORT_SCSI | #define SUPPORT_SCSI | 
| // #if defined(TRACE) | #if defined(TRACE) | 
 | #define SUPPORT_IDEIO | #define SUPPORT_IDEIO | 
| // #endif | #endif | 
 | #define SUPPORT_ARC | #define SUPPORT_ARC | 
 | #define SUPPORT_ZLIB | #define SUPPORT_ZLIB | 
 | #if !defined(_WIN64) | #if !defined(_WIN64) | 
| Line 162  typedef signed __int64  SINT64; | Line 176  typedef signed __int64  SINT64; | 
 |  |  | 
 | #define SOUNDRESERVE    20 | #define SOUNDRESERVE    20 | 
 |  |  | 
 |  |  | 
 | #define SUPPORT_TEXTCNV | #define SUPPORT_TEXTCNV | 
 |  |  |