summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/pthread_private.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-01-19 23:49:33 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-01-19 23:49:33 +0000
commitc7d21fbd347633d602d10bff760f1a8b99f03778 (patch)
treecdb204b15900fcb7dc3436e0c7673d525dded260 /lib/libpthread/uthread/pthread_private.h
parent33f51fbe1592131dee92e0a5e874264066f8d9a5 (diff)
Instead of ifdef around ENOTSUP, move it to pthread_private.h and make
it EOPNOTSUPP.
Diffstat (limited to 'lib/libpthread/uthread/pthread_private.h')
-rw-r--r--lib/libpthread/uthread/pthread_private.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h
index 8c76cef2ce9..cc9abefa7c6 100644
--- a/lib/libpthread/uthread/pthread_private.h
+++ b/lib/libpthread/uthread/pthread_private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_private.h,v 1.33 2001/12/31 18:23:15 fgsch Exp $ */
+/* $OpenBSD: pthread_private.h,v 1.34 2002/01/19 23:49:32 fgsch Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -62,6 +62,11 @@
#include "uthread_machdep.h"
/*
+ * Workaround until we have ENOTSUP in errno.h
+ */
+#define ENOTSUP EOPNOTSUPP
+
+/*
* Kernel fatal error handler macro.
*/
#define PANIC(string) _thread_exit(__FILE__,__LINE__,string)