summaryrefslogtreecommitdiff
path: root/lib/libpthread/machdep/posix-irix-5.2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/machdep/posix-irix-5.2.h')
-rw-r--r--lib/libpthread/machdep/posix-irix-5.2.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/libpthread/machdep/posix-irix-5.2.h b/lib/libpthread/machdep/posix-irix-5.2.h
new file mode 100644
index 00000000000..c22cf6f72eb
--- /dev/null
+++ b/lib/libpthread/machdep/posix-irix-5.2.h
@@ -0,0 +1,31 @@
+/* ==== posix.h ============================================================
+ * Copyright (c) 1995 by Chris Provenzano, proven@athena.mit.edu
+ *
+ * Description : Convert an IRIX-5.2 system to a more or less POSIX system.
+ *
+ * $Id: posix-irix-5.2.h,v 1.1 1998/07/21 13:19:15 peter Exp $
+ *
+ * 1.00 95/06/01 proven
+ * -Started coding this file.
+ */
+
+#ifndef _PTHREAD_POSIX_H_
+#define _PTHREAD_POSIX_H_
+
+#include <sys/cdefs.h>
+
+/* More stuff for compiling */
+#if defined(__GNUC__)
+#define __INLINE extern inline
+#else
+#define __INLINE static
+#endif
+
+/* Make sure we have size_t defined */
+#include <pthread/types.h>
+
+#ifndef __WAIT_STATUS
+#define __WAIT_STATUS int *
+#endif
+
+#endif