Ver Fonte

fix missing ENOTSUP error code

Rich Felker há 14 anos atrás
pai
commit
cabf2ff349
2 ficheiros alterados com 2 adições e 0 exclusões
  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