Changeset 22139 for trunk/include/os2wrap.h
- Timestamp:
- Jul 29, 2017, 4:48:45 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/os2wrap.h
r21916 r22139 7 7 #ifndef USE_OS2_TOOLKIT_HEADERS 8 8 9 // be compatible with the toolkit 9 // add missing declarations 10 typedef unsigned short APIRET16; 11 #define APIENTRY16 _Far16 _Pascal 12 13 #define INCL_LONGLONG_STRUCTS 14 15 #else // ifndef USE_OS2_TOOLKIT_HEADERS 16 17 #undef _Pascal 18 #define _Pascal _System // For Vio/Kbd/Mou 19 20 #endif // ifndef USE_OS2_TOOLKIT_HEADERS 21 22 #endif // ifdef __EMX__ 23 24 #include <os2.h> 25 26 #ifdef __EMX__ 27 #ifndef USE_OS2_TOOLKIT_HEADERS 28 // be compatible with the toolkit (note we do it after os2.h inclusion to avoid 29 // os2safe.h barfing) 10 30 #define OS2_INCLUDED 11 31 #define OS2DEF_INCLUDED 12 32 #define WIN_INCLUDED 13 33 #define __OS2_H__ 14 15 // add missing declarations 16 typedef unsigned short APIRET16; 17 #define APIENTRY16 _Far16 _Pascal 18 19 #define INCL_LONGLONG_STRUCTS 20 21 #else // ifndef USE_OS2_TOOLKIT_HEADERS 22 23 #undef _Pascal 24 #define _Pascal _System // For Vio/Kbd/Mou 25 26 #endif // ifndef USE_OS2_TOOLKIT_HEADERS 27 28 #endif // ifdef __EMX__ 29 30 #include <os2.h> 34 #endif 35 #endif 36 31 37 #include <os2sel.h> 32 38 #include <os2newapi.h>
Note:
See TracChangeset
for help on using the changeset viewer.