dos_compilers/Manx Aztec C86 v52a/INCLUDE/STDDEF.H
2024-07-02 08:25:54 -07:00

31 lines
469 B
C

/* Copyright 1990 Manx Software Systems, Inc */
#ifndef __STDDEF_H
#define __STDDEF_H
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
#endif
#ifndef _PTRDIFF_T
#define _PTRDIFF_T
typedef int ptrdiff_t;
#endif
#ifndef _WCHAR_T
#define _WCHAR_T
typedef char wchar_t;
#endif
#ifndef NULL
#define NULL ((void *)0)
#endif
extern int errno;
#define offsetof(type,memb) ((size_t)((unsigned long)&((type *)0)->memb))
#endif