home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / code / bcpp / file8 / def.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-19  |  700 b   |  22 lines

  1. /* #define NULL            0 */
  2. #define TRUE            0xFF
  3. #define FALSE           0
  4. #define SUCCESS         0xFF
  5. #define FAILURE         0
  6. #define PRESENT         1
  7. #define NOT_PRESENT     0
  8.  
  9. /***************************************************************************
  10. *                 UNIVERSAL "C" DECLARATIONS                               *
  11. ***************************************************************************/
  12.  
  13. #define FOREVER         for (;;)
  14.  
  15. typedef signed char     BYTE;
  16. typedef unsigned char   UBYTE;
  17. typedef int             WORD;
  18. typedef unsigned int    UWORD;
  19. typedef long            DWORD;
  20. typedef unsigned long   UDWORD;
  21. typedef unsigned char   BOOLEAN;
  22.