aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/errno.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-27 16:48:34 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-27 16:48:34 +0000
commit3e05884b949cee39dbbb8b7954ad2a8914d8cfd5 (patch)
tree753fd1ad013c1675954a0796c7d1e20128a31527 /sys/sys/errno.h
parent00c4116b3e9099f2e80351e3334441427354bb7e (diff)
downloadsrc-3e05884b949cee39dbbb8b7954ad2a8914d8cfd5.tar.gz
src-3e05884b949cee39dbbb8b7954ad2a8914d8cfd5.zip
EOVERFLOW is POSIXed, so move it out #ifndef _POSIX_SOURCE section
Notes
Notes: svn path=/head/; revision=82430
Diffstat (limited to 'sys/sys/errno.h')
-rw-r--r--sys/sys/errno.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index aacaa3d43413..bdd9cbcf68ce 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -164,11 +164,14 @@ __END_DECLS
#define ENEEDAUTH 81 /* Need authenticator */
#define EIDRM 82 /* Identifier removed */
#define ENOMSG 83 /* No message of desired type */
+#endif /* _POSIX_SOURCE */
+
#define EOVERFLOW 84 /* Value too large to be stored in data type */
+
+#ifndef _POSIX_SOURCE
#define ECANCELED 85 /* Operation canceled */
#define EILSEQ 86 /* Illegal byte sequence */
#define ELAST 86 /* Must be equal largest errno */
-
#endif /* _POSIX_SOURCE */
#ifdef _KERNEL