diff options
author | Brian Havard <bjh@apache.org> | 2000-11-14 06:40:07 +0000 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2000-11-14 06:40:07 +0000 |
commit | 12d2674e20b7d2d849f570a07cd0967839b3822b (patch) | |
tree | d4f70b5ae7a2241e1bfff696ec914f241741062a /file_io/os2/maperrorcode.c | |
parent | 56aa150bfb90f3a8c9bf1c89d9610fb083aa5581 (diff) | |
download | apr-12d2674e20b7d2d849f570a07cd0967839b3822b.tar.gz apr-12d2674e20b7d2d849f570a07cd0967839b3822b.zip |
Fix OS/2 build after the move of private APR headers to the include/arch/
area. This also messes with some unix stuff where it's shared with OS/2.
The strategy used to get the right platform specific include files is:
- Every Makefile.in contains something like
OSDIR=$(INCDIR)/arch/@OSDIR@
DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@
INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFOSDIR)
- all APR private includes look like #include "fileio.h", ie no leading
arch directory so no #ifdef'ing needed in shared .c files.
This ensures that the include file for the target platform is always used
if it exists, otherwise the default is used.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60720 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2/maperrorcode.c')
-rw-r--r-- | file_io/os2/maperrorcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/os2/maperrorcode.c b/file_io/os2/maperrorcode.c index fd32052ac..5fa398151 100644 --- a/file_io/os2/maperrorcode.c +++ b/file_io/os2/maperrorcode.c @@ -53,7 +53,7 @@ */ #define INCL_DOSERRORS -#include "os2/fileio.h" +#include "fileio.h" #include "apr_file_io.h" #include <errno.h> #include <string.h> |