diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2003-05-31 00:36:15 +0200 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2003-05-31 00:36:15 +0200 |
commit | ce67a0c64acfc4fb992bb166b220421ac4825b33 (patch) | |
tree | 6a53fd2c96571aa5a5d8cc615c487ed8a701ac56 /os | |
parent | Add mod_charset_lite to the NetWare build. (diff) | |
download | apache2-ce67a0c64acfc4fb992bb166b220421ac4825b33.tar.xz apache2-ce67a0c64acfc4fb992bb166b220421ac4825b33.zip |
Fixing up the NetWare headers to be compatible with the GNU compiler
Submitted by: G�nter Knauf <gk@gknw.de>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100116 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r-- | os/netware/pre_nw.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/os/netware/pre_nw.h b/os/netware/pre_nw.h index ce5ebe4833..bdf5f1ad19 100644 --- a/os/netware/pre_nw.h +++ b/os/netware/pre_nw.h @@ -1,9 +1,13 @@ #ifndef __pre_nw__ #define __pre_nw__ +#include <stdint.h> + +#ifndef __GNUC__ #pragma precompile_target "precomp.mch" -#define NETWARE +#endif +#define NETWARE #define N_PLAT_NLM @@ -21,17 +25,15 @@ /* if we have wchar_t enabled in C++, predefine this type to avoid a conflict in Novell's header files */ +#ifndef __GNUC__ #if (__option(cplusplus) && __option(wchar_type)) #define _WCHAR_T #endif +#endif /* C9X defintion used by MSL C++ library */ #define DECIMAL_DIG 17 -/* define long long typedefs for Watcom compatiblity */ -typedef long long int64_t; -typedef unsigned long long uint64_t; - /* some code may want to use the MS convention for long long */ #ifndef __int64 #define __int64 long long |