|
|
| version 1.24, 2005/03/24 04:40:33 | version 1.25, 2005/04/01 15:35:50 |
|---|---|
| Line 10 | Line 10 |
| #endif | #endif |
| #define OSLINEBREAK_CRLF | #define OSLINEBREAK_CRLF |
| 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 42 typedef unsigned int UINT32; | Line 43 typedef unsigned int UINT32; |
| #define BRESULT UINT | #define BRESULT UINT |
| #if !defined(OSLANG_UTF8) | #if defined(OSLANG_UCS2) |
| #define OEMCHAR TCHAR | #define OEMCHAR wchar_t |
| #define OEMTEXT(string) _T(string) | #define _OEMTEXT(x) L ## x |
| #define OEMTEXT(string) _OEMTEXT(string) | |
| #if defined(_UNICODE) | |
| #define OEMSPRINTF wsprintf | #define OEMSPRINTF wsprintf |
| #define OEMSTRLEN lstrlen | #define OEMSTRLEN lstrlen |
| #else | #else |
| #define OEMSPRINTF swprintf | |
| #define OEMSTRLEN wcslen | |
| #endif | |
| #else | |
| #define OEMCHAR char | #define OEMCHAR char |
| #define OEMTEXT(string) string | #define OEMTEXT(string) string |
| #if defined(_UNICODE) | |
| #define OEMSPRINTF sprintf | #define OEMSPRINTF sprintf |
| #define OEMSTRLEN strlen | #define OEMSTRLEN strlen |
| #else | |
| #define OEMSPRINTF wsprintf | |
| #define OEMSTRLEN lstrlen | |
| #endif | #endif |
| #endif | |
| #include "common.h" | #include "common.h" |
| #include "milstr.h" | #include "milstr.h" |