OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c8301
)
Avoid `ECANCELED' redefined on mips
author
Eric Andersen
<andersen@codepoet.org>
Sat, 24 Aug 2002 01:35:44 +0000
(
01:35
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sat, 24 Aug 2002 01:35:44 +0000
(
01:35
-0000)
-Erik
libc/sysdeps/linux/common/bits/errno.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/bits/errno.h
b/libc/sysdeps/linux/common/bits/errno.h
index
999f34f
..
cb9c2ee
100644
(file)
--- a/
libc/sysdeps/linux/common/bits/errno.h
+++ b/
libc/sysdeps/linux/common/bits/errno.h
@@
-21,12
+21,13
@@
# include <bits/errno_values.h>
-/* Linux has no ENOTSUP error code. */
+#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. */
+#ifndef ECANCELED
# define ECANCELED 125
+#endif
# ifndef __ASSEMBLER__