diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-01-28 15:30:32 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-01-28 15:30:32 +0000 |
commit | 59390e54e5b10995256cdea6e687a78f5d3cd4c8 (patch) | |
tree | 843434e4345725b973f90ace72dc1325b5fc3719 /misc | |
parent | d03b24c71bc3568f1e50c062eabd19edf3ad0f9c (diff) | |
download | libapr-59390e54e5b10995256cdea6e687a78f5d3cd4c8.tar.gz |
OS2 was chasing os2errno.h which we hid in a private platform directory,
but apr_errno.h is public. It also called in <os.h> with possibly
inappropriate headers, and if os2.h follows any other header's usual
conventions, calling it the second time for more declarations can be
dicey. Relocated <os2.h> into apr.h.in (accessable to all, since it's
later leveraged by most), which simplifies a bunch of code, and relocate
all of the os2errno values into apr_errno.h for APR_STATUS_IS_FOO tests.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61156 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r-- | misc/unix/errorcodes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/misc/unix/errorcodes.c b/misc/unix/errorcodes.c index cfa879f43..36bdcb5b1 100644 --- a/misc/unix/errorcodes.c +++ b/misc/unix/errorcodes.c @@ -160,8 +160,6 @@ static char *apr_error_string(apr_status_t statcode) #ifdef OS2 -#define INCL_DOS -#include <os2.h> #include <ctype.h> int apr_canonical_error(apr_status_t err); |