This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
PA-RISC diffs, part 7: ENOTSUP
- To: Ulrich Drepper <drepper at cygnus dot com>
- Subject: PA-RISC diffs, part 7: ENOTSUP
- From: David Huggins-Daines <dhd at linuxcare dot com>
- Date: 12 Oct 2000 16:29:10 -0400
- Cc: libc-alpha at sourceware dot cygnus dot com
- Organization: Linuxcare, Inc.
Linux on PA-RISC does define ENOTSUP (probably inherited from HP/UX).
2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
* sysdeps/unix/sysv/linux/bits/errno.h: Linux/hppa does have ENOTSUP.
diff -urN --exclude=configure --exclude=.cvsignore --exclude=CVS --exclude=*.texi --exclude=texis --exclude=*.info* --exclude=*~ glibc-2.1.95/sysdeps/unix/sysv/linux/bits/errno.h glibc/sysdeps/unix/sysv/linux/bits/errno.h
--- glibc-2.1.95/sysdeps/unix/sysv/linux/bits/errno.h Fri Dec 10 13:10:10 1999
+++ glibc/sysdeps/unix/sysv/linux/bits/errno.h Tue Oct 3 13:11:02 2000
@@ -25,7 +25,9 @@
# include <linux/errno.h>
/* Linux has no ENOTSUP error code. */
-# define ENOTSUP EOPNOTSUPP
+# ifndef ENOTSUP
+# define ENOTSUP EOPNOTSUPP
+# endif
/* Linux also has no ECANCELED error code. Since it is not used here
we define it to an invalid value. */
--
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.