blob: 7f665d6b44aa388d8886f242ca089f6b96f29a2c (
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
29
30
31
|
/* ==== posix.h ============================================================
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@athena.mit.edu
*
* $Id$
*
* Description : Convert a Linux-1.0 system to a more or less POSIX system.
* Mostly POSIX already
*/
#ifndef _PTHREAD_POSIX_H_
#define _PTHREAD_POSIX_H_
#include <sys/cdefs.h>
/* Make sure we have size_t defined */
#include <pthread/types.h>
#define __INLINE extern inline
/*
* OK now do stuff to make the code compile.
* Every OS has its own prototypes for each function
*/
#ifdef malloc
#undef malloc
#endif
#ifdef free
#undef free
#endif
#endif
|