This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PA-RISC diffs, part 7: ENOTSUP


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]