home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lansystk.zip / INCLUDE / LANDIST / WCL1632.H < prev    next >
C/C++ Source or Header  |  1998-05-08  |  1KB  |  39 lines

  1.  
  2. /*****************************************************************************/
  3. /* 32 Bit Support                                               @A1A         */
  4. /*****************************************************************************/
  5. #ifndef _32_INCL
  6. #define _32_INCL
  7.  
  8. #ifdef __32BIT__                       /* 32-bit Compiler Options  */
  9. #define STRUCT16 _Packed struct
  10. #define PTR16 * _Seg16
  11. #define SEGPTR *
  12. #define CALL16 _Far16 _Pascal
  13. #define CALL16PTR * _Seg16 _Far16 _Pascal
  14. #else                                  /* 16-bit Compiler Options  */
  15. #define STRUCT16 struct
  16. #define PTR16 far *
  17. #define SEGPTR far *
  18. #define CALL16 far pascal
  19. #define CALL16PTR far pascal *
  20. #endif
  21.  
  22.  
  23. /*****************************************************************************/
  24. /*                                                                           */
  25. /*                            Type Definitions                               */
  26. /*                                                                           */
  27. /*****************************************************************************/
  28. #ifndef VOID
  29. typedef void               VOID;
  30. #endif
  31.  
  32. #ifndef __32BIT__                      /* 32-bit Compiler Options  */
  33. typedef unsigned char      BYTE;
  34. #endif
  35. typedef unsigned short int WORD;
  36. typedef unsigned long int  DWORD;
  37.  
  38. #endif
  39.