home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / cprog / actlib12.zip / BOOL.H next >
Text File  |  1993-01-14  |  440b  |  36 lines

  1. /*
  2.  *  Copyright (C) 1993   Marc Stern  (internet: stern@mble.philips.be)
  3.  *
  4.  * File        : bool.h
  5.  *
  6.  * Description    : Macros defining the boolean type
  7.  *          with values TRUE or FALSE
  8.  *
  9.  */
  10.  
  11.  
  12.  
  13. #if ! true
  14. # define true 1
  15. #endif
  16.  
  17. #if ! True
  18. # define True 1
  19. #endif
  20.  
  21. #if ! TRUE
  22. # define TRUE 1
  23. #endif
  24.  
  25. #if ! false
  26. # define false 0
  27. #endif
  28.  
  29. #if ! False
  30. # define False 0
  31. #endif
  32.  
  33. #if ! FALSE
  34. # define FALSE 0
  35. #endif
  36.