Changeset 17 for trunk/include
- Timestamp:
- Jun 1, 1999, 12:08:16 AM (26 years ago)
- Location:
- trunk/include
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/OS2WIN.H
r13 r17 1 /* $Id: OS2WIN.H,v 1. 3 1999-05-31 17:04:18phaller Exp $ */1 /* $Id: OS2WIN.H,v 1.4 1999-05-31 22:08:07 phaller Exp $ */ 2 2 3 3 #ifndef _OS2WIN_H 4 4 #define _OS2WIN_H 5 5 6 #include "misc.h"6 #include <odin.h> 7 7 8 8 #include <windef.h> -
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 -
trunk/include/win32type.h
r10 r17 1 /* $Id: win32type.h,v 1. 2 1999-05-27 15:17:59phaller Exp $ */1 /* $Id: win32type.h,v 1.3 1999-05-31 22:08:08 phaller Exp $ */ 2 2 3 3 #ifndef __WIN32TYPE_H__ … … 7 7 #define FAR 8 8 #define UNALIGNED 9 10 11 #ifndef VOID 12 # define VOID void 13 #endif 14 15 #ifndef LONG 16 # define LONG long 17 #endif 18 19 #ifndef ULONG 20 # define ULONG unsigned long 21 #endif 22 23 #ifndef SHORT 24 # define SHORT short 25 #endif 26 27 #ifndef USHORT 28 # define USHORT unsigned short 29 #endif 30 31 #ifndef CHAR 32 # define CHAR char 33 #endif 34 35 #ifndef UCHAR 36 # define UCHAR unsigned char 37 #endif 38 39 9 40 10 41 #define LPVOID VOID * -
trunk/include/winos2def.h
r10 r17 1 /* $Id: winos2def.h,v 1. 2 1999-05-27 15:17:59phaller Exp $ */1 /* $Id: winos2def.h,v 1.3 1999-05-31 22:08:08 phaller Exp $ */ 2 2 3 3 /* … … 12 12 #define __WINOS2DEF_H__ 13 13 14 #define APIENTRY_OS2_System14 #define APIENTRY_OS2 _System 15 15 16 typedef unsigned long HMODULE; 16 /* 17 typedef unsigned long HMODULE; 17 18 typedef unsigned long HINSTANCE; 18 //typedef unsigned long ULONG; 19 typedef char * PSZ; 20 typedef ULONG MPARAM; 21 typedef ULONG APIRET; 19 //typedef unsigned long ULONG; 20 typedef char * PSZ; 21 typedef ULONG MPARAM; 22 typedef ULONG APIRET; 23 */ 24 25 #ifndef MPARAM 26 # define MPARAM void* 27 #endif 28 29 #ifndef APIRET 30 # define APIRET ULONG 31 #endif 32 22 33 23 34 extern "C" {
Note:
See TracChangeset
for help on using the changeset viewer.