|
|
| version 1.6, 2003/11/30 12:32:05 | version 1.12, 2004/02/12 17:18:16 |
|---|---|
| Line 1 | Line 1 |
| #include <windows.h> | #include <windows.h> |
| #include <stdio.h> | #include <stdio.h> |
| #include <stddef.h> | #include <stddef.h> |
| #include <setjmp.h> | |
| #define BYTESEX_LITTLE | #define BYTESEX_LITTLE |
| #define OSLANG_SJIS | #define OSLANG_SJIS |
| #define OSLINEBREAK_CRLF | #define OSLINEBREAK_CRLF |
| typedef signed char SINT8; | #ifndef __GNUC__ |
| typedef unsigned char UINT8; | typedef signed char SINT8; |
| typedef signed short SINT16; | typedef unsigned char UINT8; |
| typedef unsigned short UINT16; | typedef signed short SINT16; |
| typedef signed int SINT32; | typedef unsigned short UINT16; |
| typedef unsigned int UINT32; | typedef signed int SINT32; |
| typedef unsigned int UINT32; | |
| typedef signed __int64 SINT64; | |
| typedef unsigned __int64 UINT64; | |
| #define INLINE __inline | |
| #define QWORD_CONST(v) ((DWORDLONG)(v)) | |
| #define SQWORD_CONST(v) ((LONGLONG)(v)) | |
| #define vsnprintf _vsnprintf | |
| #else | |
| #include <stdlib.h> | |
| typedef signed char SINT8; | |
| typedef unsigned char UINT8; | |
| typedef short SINT16; | |
| typedef unsigned short UINT16; | |
| typedef int SINT32; | |
| typedef signed __int64 SINT64; | |
| #define INLINE inline | |
| #endif | |
| // for RISC test | |
| #define REG8 UINT | |
| #define REG16 UINT | |
| #include "common.h" | #include "common.h" |
| #include "milstr.h" | #include "milstr.h" |
| Line 50 typedef unsigned int UINT32; | Line 73 typedef unsigned int UINT32; |
| #define SOUNDRESERVE 20 | #define SOUNDRESERVE 20 |
| #define SUPPORT_WAVEMIX | |
| #define SUPPORT_HOSTDRV | |
| #define FASTCALL __fastcall | |
| #if defined(CPUCORE_IA32) | |
| #define sigjmp_buf jmp_buf | |
| #define sigsetjmp(env, mask) setjmp(env) | |
| #define siglongjmp(env, val) longjmp(env, val) | |
| #define msgbox(title, msg) MessageBox(NULL, msg, title, MB_OK) | |
| #endif | |