ansi.h 631 B

1234567891011121314151617181920212223242526272829
  1. /* (c) copyright 1992 by the Vrije Universiteit, Amsterdam, The Netherlands.
  2. */
  3. #ifndef __ANSI_H__INCLUDED
  4. #define __ANSI_H__INCLUDED
  5. /* T O A N S I O R N O T T O A N S I ? */
  6. /* $Id$ */
  7. /* Define the * _PROTOTYPE macro to either expand both of its arguments
  8. (ANSI prototypes), or only the function name (K&R prototypes).
  9. */
  10. #if __STDC__
  11. #include <stddef.h>
  12. #define _PROTOTYPE(function, params) function params
  13. #define _SIZET size_t
  14. #define _CONST const
  15. #else
  16. #define _PROTOTYPE(function, params) function()
  17. #define _SIZET unsigned int
  18. #define _CONST
  19. #endif /* __STDC__ */
  20. #endif /* __ANSI_H__INCLUDED */