diff options
Diffstat (limited to 'mit-pthreads/machdep/irix-5.2/__stdlib.h')
-rwxr-xr-x | mit-pthreads/machdep/irix-5.2/__stdlib.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/irix-5.2/__stdlib.h b/mit-pthreads/machdep/irix-5.2/__stdlib.h new file mode 100755 index 00000000000..2bec122c5f1 --- /dev/null +++ b/mit-pthreads/machdep/irix-5.2/__stdlib.h @@ -0,0 +1,30 @@ +#include <sgidefs.h> + +#if !defined(_SIZE_T) && !defined(_SIZE_T_) +#define _SIZE_T +#if (_MIPS_SZLONG == 32) +typedef unsigned int size_t; +#endif +#if (_MIPS_SZLONG == 64) +typedef unsigned long size_t; +#endif +#endif + +#ifndef _WCHAR_T +#define _WCHAR_T +#if (_MIPS_SZLONG == 32) +typedef long wchar_t; +#endif +#if (_MIPS_SZLONG == 64) +typedef __int32_t wchar_t; +#endif +#endif + +#ifndef __NORETURN +#define __NORETURN +#endif + +#ifndef NULL +#define NULL 0 +#endif + |