ack/modules/h/ansi.h

30 lines
635 B
C
Raw Normal View History

1993-11-05 15:02:57 +00:00
/* (c) copyright 1992 by the Vrije Universiteit, Amsterdam, The Netherlands.
*/
#ifndef __ANSI_H__INCLUDED
#define __ANSI_H__INCLUDED
/* T O A N S I O R N O T T O A N S I ? */
/* $Header$ */
/* Define the * _PROTOTYPE macro to either expand both of its arguments
(ANSI prototypes), or only the function name (K&R prototypes).
*/
#if __STDC__
#include <stddef.h>
#define _PROTOTYPE(function, params) function params
#define _SIZET size_t
#define _CONST const
#else
#define _PROTOTYPE(function, params) function()
#define _SIZET unsigned int
#define _CONST
#endif /* __STDC__ */
#endif /* __ANSI_H__INCLUDED */