home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / objc / os2.h
Encoding:
C/C++ Source or Header  |  1996-02-14  |  902 b   |  52 lines

  1. /*
  2.  * os2.h (emx+gcc)
  3.  * special include file for objective c language
  4.  * modified 02-01-1996 by Thomas Baier
  5.  * original os2.h from emx09b
  6.  */
  7.  
  8. /* includes os2emx.h */
  9.  
  10. /* default location: /usr/include/objc/os2.h */
  11.  
  12. #if !defined (_OS2_H)
  13.  
  14. /*
  15.  * conflicts with objc.h:       SEL, BOOL, id
  16.  * solution:  prefixing those with _OS2_ before including os2emx.h
  17.  */
  18.  
  19. #define SEL _OS2_SEL
  20. #define BOOL _OS2_BOOL
  21. #define id _OS2_id
  22.  
  23. #if defined (__cplusplus)
  24. extern "C" {
  25. #endif
  26.  
  27. #define _OS2_H
  28.  
  29. #define _Cdecl
  30. #define _Far16
  31. #define _Optlink
  32. #define _Pascal
  33. #define _Seg16
  34. #define _System
  35.  
  36. #if defined (USE_OS2_TOOLKIT_HEADERS)
  37. #include <os2tk.h>
  38. #else
  39. #include <os2emx.h>   /* <-- change this line to use Toolkit headers */
  40. #endif
  41. #include <os2thunk.h>
  42.  
  43. #if defined (__cplusplus)
  44. }
  45. #endif
  46.  
  47. #undef id
  48. #undef SEL
  49. #undef BOOL
  50.  
  51. #endif /* !defined (_OS2_H) */
  52.