Parcourir la source

fix missing ENOTSUP error code

Rich Felker il y a 14 ans
Parent
commit
cabf2ff349
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      arch/i386/bits/errno.h
  2. 1 0
      arch/x86_64/bits/errno.h

+ 1 - 0
arch/i386/bits/errno.h

@@ -93,6 +93,7 @@
 #define EPROTONOSUPPORT 93
 #define ESOCKTNOSUPPORT 94
 #define EOPNOTSUPP      95
+#define ENOTSUP         EOPNOTSUPP
 #define EPFNOSUPPORT    96
 #define EAFNOSUPPORT    97
 #define EADDRINUSE      98

+ 1 - 0
arch/x86_64/bits/errno.h

@@ -93,6 +93,7 @@
 #define EPROTONOSUPPORT 93
 #define ESOCKTNOSUPPORT 94
 #define EOPNOTSUPP      95
+#define ENOTSUP         EOPNOTSUPP
 #define EPFNOSUPPORT    96
 #define EAFNOSUPPORT    97
 #define EADDRINUSE      98