home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / sqdev200.zip / h / pos2.h < prev    next >
C/C++ Source or Header  |  1994-05-23  |  2KB  |  64 lines

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *  Squish Developers Kit Source, Version 2.00                             *
  4.  *  Copyright 1989-1994 by SCI Communications.  All rights reserved.       *
  5.  *                                                                         *
  6.  *  USE OF THIS FILE IS SUBJECT TO THE RESTRICTIONS CONTAINED IN THE       *
  7.  *  SQUISH DEVELOPERS KIT LICENSING AGREEMENT IN SQDEV.PRN.  IF YOU DO NOT *
  8.  *  FIND THE TEXT OF THIS AGREEMENT IN THE AFOREMENTIONED FILE, OR IF YOU  *
  9.  *  DO NOT HAVE THIS FILE, YOU SHOULD IMMEDIATELY CONTACT THE AUTHOR AT    *
  10.  *  ONE OF THE ADDRESSES LISTED BELOW.  IN NO EVENT SHOULD YOU PROCEED TO  *
  11.  *  USE THIS FILE WITHOUT HAVING ACCEPTED THE TERMS OF THE SQUISH          *
  12.  *  DEVELOPERS KIT LICENSING AGREEMENT, OR SUCH OTHER AGREEMENT AS YOU ARE *
  13.  *  ABLE TO REACH WITH THE AUTHOR.                                         *
  14.  *                                                                         *
  15.  *  You can contact the author at one of the address listed below:         *
  16.  *                                                                         *
  17.  *  Scott Dudley       FidoNet     1:249/106                               *
  18.  *  777 Downing St.    Internet    sjd@f106.n249.z1.fidonet.org            *
  19.  *  Kingston, Ont.     CompuServe  >INTERNET:sjd@f106.n249.z1.fidonet.org  *
  20.  *  Canada  K7M 5N3    BBS         1-613-634-3058, V.32bis                 *
  21.  *                                                                         *
  22.  ***************************************************************************/
  23.  
  24. #ifndef __POS2_H_DEFINED
  25. #define __POS2_H_DEFINED
  26.  
  27. #ifdef __FLAT__
  28. /*#pragma pack(4)*/
  29. #pragma pack(1)
  30. #else
  31. #pragma pack(1)
  32. #endif
  33.  
  34. #ifdef __FLAT__
  35.   #define OS2UINT  ULONG
  36.   #define DosTransactNmPipe DosTransactNPipe
  37.   #define DosPeekNmPipe DosPeekNPipe
  38.   #define DosSetNmPHandState DosSetNPHState
  39.  
  40.   #ifdef NULL
  41.     #undef NULL
  42.   #endif
  43. #else
  44.   #define OS2UINT  USHORT
  45.   #define APIENTRY16 APIENTRY
  46. #endif
  47.  
  48. #include "pm32.h"
  49. #include <os2.h>
  50. #pragma pack()
  51.  
  52. #undef ADDRESS
  53.  
  54. #ifdef __WATCOMC__
  55.   #ifdef __FLAT__
  56.     #pragma library("os2386.lib");
  57.   #else
  58.     #pragma library("os2.lib");
  59.   #endif
  60. #endif
  61.  
  62. #endif /* __POS2_H_DEFINED */
  63.  
  64.