diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-01-19 23:49:33 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-01-19 23:49:33 +0000 |
commit | c7d21fbd347633d602d10bff760f1a8b99f03778 (patch) | |
tree | cdb204b15900fcb7dc3436e0c7673d525dded260 /lib/libpthread/uthread/pthread_private.h | |
parent | 33f51fbe1592131dee92e0a5e874264066f8d9a5 (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.h | 7 |
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) |