home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pc3270sa.zip / eclopsys.hpp < prev    next >
Text File  |  2002-02-28  |  1KB  |  35 lines

  1. //-------------------------------------------------------------------------------
  2. // Module:  eclopsys.hpp
  3. //-------------------------------------------------------------------------------
  4. //
  5. // Description:  Operating system compatibility definitions and macros.  Allows
  6. //               common ECL header files across platforms.
  7. //
  8. //-------------------------------------------------------------------------------
  9. // Copyright Notice: IBM Personal Communication/3270 Version 4.3
  10. //                   (C) COPYRIGHT IBM CORP. 1989,1998 - PROGRAM PROPERTY
  11. //                   OF IBM ALL RIGHTS RESERVED
  12. //-------------------------------------------------------------------------------
  13. #if !defined(ECLOPSYS_INCLUDED)
  14. #define ECLOPSYS_INCLUDED
  15.  
  16. #if defined(__OS2__)  // OS/2 compiler?
  17.   #define OS2
  18. #else         
  19.   #define WIN
  20. #endif
  21.  
  22. // Load operating system headers
  23.  
  24. #if defined(WIN)
  25.   #include <windows.h>
  26. #endif
  27.  
  28. #if defined(OS2)
  29.   #define INCL_DOSMODULEMGR
  30.   #define INCL_DOSERRORS
  31.   #include <os2.h>
  32. #endif
  33.  
  34. #endif // ECLOPSYS_INCLUDED
  35.