summaryrefslogtreecommitdiff
path: root/lib/libpthread/machdep/posix-netbsd-1.0.h
diff options
context:
space:
mode:
authorPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 13:20:29 +0000
committerPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 13:20:29 +0000
commit43b686d61558c0957f1779c747214ddef20a2252 (patch)
tree99fb41dbccee40683a84fe98aa3c6a9784911bf2 /lib/libpthread/machdep/posix-netbsd-1.0.h
parentea12e8eb2f8d4c89e854d9381f85ce8fb4688ad0 (diff)
Complete initial import from mySQL 3.22.4 (mit-pthreads/).
Lots of dross to move and remove yet. At minimum: o remove GNU config and GNU Makefiles o build arch directory and migrate away machdep/ o rebuild BSD Makefiles o move notes etc. into doc/
Diffstat (limited to 'lib/libpthread/machdep/posix-netbsd-1.0.h')
-rw-r--r--lib/libpthread/machdep/posix-netbsd-1.0.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/libpthread/machdep/posix-netbsd-1.0.h b/lib/libpthread/machdep/posix-netbsd-1.0.h
new file mode 100644
index 00000000000..3557d0c5310
--- /dev/null
+++ b/lib/libpthread/machdep/posix-netbsd-1.0.h
@@ -0,0 +1,31 @@
+/* ==== posix.h ============================================================
+ * Copyright (c) 1993 by Chris Provenzano, proven@athena.mit.edu
+ *
+ * Description : Convert an Ultrix-4.2 system to a more or less POSIX system.
+ *
+ * $Id: posix-netbsd-1.0.h,v 1.1 1998/07/21 13:19:15 peter Exp $
+ *
+ * 1.00 93/07/20 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