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

  1. /*****************************************************************************/
  2. /*                                                                           */
  3. /*  Module Name     : PCSAPI.H                                               */
  4. /*                                                                           */
  5. /*  Description     : 16/32 Bit PCSAPI Structure, Return Codes and Routines  */
  6. /*                                                                           */
  7. /*  Copyright Notice: IBM Personal Communication/3270 Version 4.1            */
  8. /*                    (C) COPYRIGHT IBM CORP. 1989,1996 - PROGRAM PROPERTY   */
  9. /*                    OF IBM ALL RIGHTS RESERVED                             */
  10. /*                                                                           */
  11. /*****************************************************************************/
  12. #undef __PCSAPI_32BIT_SUPPORT__
  13. #undef __PCSAPI_16BIT_SUPPORT__
  14.  
  15. #   if (__IBMC__ >= 100 || __IBMCPP__ >=200 || __IBMCM2C__ == 12 || _LE_PPC || WIN32 || _WIN32)
  16.     /* __IBMC__   >= 100    indicates  C Set/2 or C Set++   */
  17.     /* __IBMCPP__           indicates  C Set++              */
  18.     /* WIN32 || _WIN32      indicates  MSVC                 */
  19. #   define __PCSAPI_32BIT_SUPPORT__
  20.  
  21. #     elif defined(__BORLANDC__)
  22.       /* Borland C++ for OS/2 */
  23. #     define __PCSAPI_32BIT_SUPPORT__
  24.  
  25. #       elif (_MSC_VER >= 600) || __IBMC__
  26.         /* Microsoft C 6.0 or IBM C/2 */
  27. #       define __PCSAPI_16BIT_SUPPORT__
  28.  
  29. #   else
  30.  
  31. /*
  32.  * If we have gotten this far, a supported compiler has not been
  33.  * recognized.  We will produce a syntax error on the next
  34.  * line that should help the user identify the problem.
  35.  */
  36. INTENTIONAL_SYNTAX_ERROR pcsapi_does_not_recognize_compiler();
  37.  
  38. #   endif
  39.  
  40.  
  41. #if ( defined(__PCSAPI_32BIT_SUPPORT__) && \
  42.       defined(__PCSAPI_16BIT_SUPPORT__) )
  43. INTENTIONAL_SYNTAX_ERROR pcsapi_error_processing_include_files();
  44. #   endif
  45.  
  46.  
  47. #    if defined(__PCSAPI_32BIT_SUPPORT__)
  48. #      include "PCSAPI32.H"
  49. #    endif
  50.  
  51. #   if defined(__PCSAPI_16BIT_SUPPORT__)
  52. #     include "PCSAPI16.H"
  53. #   endif
  54.