home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscTableScroll / bool.h next >
Encoding:
C/C++ Source or Header  |  1996-02-11  |  1.3 KB  |  40 lines

  1. #ifndef __bool_h
  2. #define __bool_h
  3. //=============================================================================
  4. //
  5. //        Copyright (C) 1995 by Paul S. McCarthy and Eric Sunshine.
  6. //                Written by Paul S. McCarthy and Eric Sunshine.
  7. //                            All Rights Reserved.
  8. //
  9. //        This notice may not be removed from this source code.
  10. //
  11. //        This object is included in the MiscKit by permission from the authors
  12. //        and its use is governed by the MiscKit license, found in the file
  13. //        "License.rtf" in the MiscKit distribution.    Please refer to that file
  14. //        for a list of all applicable permissions and restrictions.
  15. //        
  16. //=============================================================================
  17. //-----------------------------------------------------------------------------
  18. // bool.h
  19. //
  20. //        A header to supplement NeXT's lack of bool type in their C++ compiler.
  21. //
  22. //-----------------------------------------------------------------------------
  23. //-----------------------------------------------------------------------------
  24. // $Id: bool.h,v 1.1 95/09/27 12:21:21 zarnuk Exp $
  25. // $Log:        bool.h,v $
  26. //    Revision 1.1  95/09/27    12:21:21  zarnuk
  27. //    Initial revision
  28. //    
  29. //-----------------------------------------------------------------------------
  30.  
  31. #ifdef __NeXT__
  32.  
  33. typedef char bool;
  34. #define false    ((bool)0)
  35. #define true    ((bool)1)
  36.  
  37. #endif
  38.  
  39. #endif    // __bool_h
  40.