From 3e05884b949cee39dbbb8b7954ad2a8914d8cfd5 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 27 Aug 2001 16:48:34 +0000 Subject: [PATCH] EOVERFLOW is POSIXed, so move it out #ifndef _POSIX_SOURCE section --- sys/sys/errno.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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