Changeset 17 for trunk/include/misc.h
- Timestamp:
- Jun 1, 1999, 12:08:16 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/misc.h
r14 r17 1 /* $Id: misc.h,v 1.4 1999-05-31 17:12:38 phaller Exp $ */ 1 /* $Id: misc.h,v 1.5 1999-05-31 22:08:08 phaller Exp $ */ 2 3 /* 4 * Miscellaneous definitions 5 * Debug prototypes and macros 6 */ 7 2 8 3 9 #ifndef __MISC_H__ … … 7 13 extern "C" { 8 14 #endif 9 10 /*11 * Compiler Environment Definition12 */13 14 /* ---------- WATCOM C ---------- */15 #ifdef __WATCOMC__16 #define CDECL _cdecl17 #define EXPORT _export18 #define WIN32API __stdcall19 #define SYSTEM __stdcall20 #else21 22 /* ---------- GCC/EMX ---------- */23 #ifdef __GNUC__24 #define CDECL _cdecl25 #define EXPORT _export26 #define WIN32API __stdcall27 #define SYSTEM __stdcall28 #else29 30 /* ---------- VAC ---------- */31 #ifdef __IBMCPP__32 #define CDECL _Cdecl33 #define EXPORT _Export34 #define WIN32API _System _Export35 #define SYSTEM _System36 #else37 38 /* ---------- ??? ---------- */39 #error No known compiler.40 #endif41 #endif42 #endif43 44 45 /* map WINE to ODIN */46 #define WINAPI WIN32API47 #include <builtin.h>48 15 49 16 … … 67 34 #endif 68 35 36 37 #ifndef ULONG 38 # define ULONG unsigned long 39 #endif 40 41 #ifndef HMODULE 42 # define HMODULE ULONG 43 #endif 44 45 #ifndef SYSTEM 46 # define SYSTEM _System 47 #endif 48 49 69 50 int SYSTEM WriteLog(char *tekst, ...); 70 51 int SYSTEM WriteLogError(char *tekst, ...); … … 84 65 #include "unicode.h" 85 66 67 86 68 #endif
Note:
See TracChangeset
for help on using the changeset viewer.