summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/sunos-4.1.3/__stdlib.h
blob: 7bb9093c51cd7a2b4a0918d88136c6f2d8a4c0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* $Id$ */

#ifndef  __sys_stdtypes_h

#ifndef	_SYS___STDLIB_H_
#define	_SYS___STDLIB_H_

#include <sys/stdtypes.h>   /* to get size_t */

#if (! defined _SIZE_T_ ) && (! defined(_GCC_SIZE_T))
#define _SIZE_T_
#define _GCC_SIZE_T
typedef pthread_size_t    size_t;
#endif

#if (! defined _WCHAR_T_ ) && (! defined(_GCC_WCHAR_T))
#define _WCHAR_T_
#define _GCC_WCHAR_T
typedef unsigned int	wchar_t;
#endif

#ifndef NULL
#define NULL    0
#endif

#endif

#endif