home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 431_01 / local.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-02  |  315 b   |  15 lines

  1. #ifndef local_h
  2. #define local_h
  3.  
  4. typedef enum {FALSE = 0, TRUE} BOOL;
  5. #define LOCAL static
  6.  
  7. #define BYTE  unsigned char
  8. #define WORD  unsigned 
  9. #define DWORD unsigned long
  10.  
  11. #define CLOCK (*(DWORD *) MK_FP(0x40, 0x6c))
  12. #define NORMALIZE(a) a=MK_FP(FP_SEG(a)+(FP_OFF(a) >> 4), FP_OFF(a) & 0x0f)
  13.  
  14. #endif
  15.