home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / ltmfprg2 / pure_c / portab.h
Encoding:
C/C++ Source or Header  |  1993-04-18  |  791 b   |  39 lines

  1. /* portab.h - portability support for Turbo/Pure-C */
  2.  
  3. #ifndef __PORTAB__
  4. #define __PORTAB__
  5.  
  6. typedef          void    VOID;
  7. typedef          char    CHAR;
  8. typedef          char    BYTE;
  9. typedef          int     WORD;
  10. typedef          long    LONG;
  11. typedef unsigned char    UBYTE;
  12. typedef unsigned int     UWORD;
  13. typedef unsigned long    ULONG;
  14.  
  15. #define EXTERN        extern
  16. #define MLOCAL        static
  17. #define REG        register
  18.  
  19. #define _(params)    params
  20.  
  21. #define STDARGS        cdecl
  22.  
  23. #define    FALSE        (0)        /* boolean false */
  24. #define    TRUE        (!FALSE)    /* boolean true */
  25. #define YES    TRUE
  26. #define NO    FALSE
  27. #define SUCCESS    TRUE
  28. #define FAILURE    FALSE
  29.  
  30. #define EOF (-1)
  31. #define NULLPTR    NULL
  32. #define NULLFUNC    ((void(*)(void))0)
  33.  
  34. #ifndef NULL
  35. #define NULL    ((void *)0)
  36. #endif
  37. #endif
  38.  
  39.