/library/server/fcgi/spec/include/libfcgi/fcgimisc.h

http://github.com/jocelyn/EiffelWebReloaded · C++ Header · 38 lines · 18 code · 7 blank · 13 comment · 0 complexity · 09ac79eea3ff7ae6af12429cde044560 MD5 · raw file

  1. /*
  2. * fcgimisc.h --
  3. *
  4. * Miscellaneous definitions
  5. *
  6. *
  7. * Copyright (c) 1996 Open Market, Inc.
  8. *
  9. * See the file "LICENSE.TERMS" for information on usage and redistribution
  10. * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  11. *
  12. * $Id: fcgimisc.h,v 1.3 2001/06/18 14:25:47 robs Exp $
  13. */
  14. #ifndef _FCGIMISC_H
  15. #define _FCGIMISC_H
  16. #ifndef FALSE
  17. #define FALSE (0)
  18. #endif
  19. #ifndef TRUE
  20. #define TRUE (1)
  21. #endif
  22. #ifndef min
  23. #define min(a,b) ((a) < (b) ? (a) : (b))
  24. #endif
  25. #ifndef max
  26. #define max(a,b) ((a) > (b) ? (a) : (b))
  27. #endif
  28. #ifndef ASSERT
  29. #define ASSERT(assertion) assert(assertion)
  30. #endif
  31. #endif /* _FCGIMISC_H */