ack/lang/cem/libcc.ansi/headers/stddef.h

23 lines
501 B
C
Raw Normal View History

1989-05-16 13:13:53 +00:00
/*
* stddef.h - common definitions
*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1994-06-24 14:02:31 +00:00
/* $Id$ */
1989-05-16 13:13:53 +00:00
#ifndef _STDDEF_H
1989-12-18 14:00:32 +00:00
#define _STDDEF_H
1989-05-16 13:13:53 +00:00
2018-06-23 16:54:40 +00:00
#include <ack/config.h>
2007-04-27 22:42:02 +00:00
#include <stdint.h>
#define NULL 0
1989-05-16 13:13:53 +00:00
1990-10-30 09:53:48 +00:00
#define offsetof(type, ident) ((size_t) (unsigned long) &((type *)0)->ident)
1989-05-16 13:13:53 +00:00
typedef char wchar_t; /* type of a wide character */
typedef long off_t; /* type of a position offset */
1989-05-16 13:13:53 +00:00
#endif