]> granicus.if.org Git - apache/commitdiff
Fixing up the NetWare headers to be compatible with the GNU compiler
authorBradley Nicholes <bnicholes@apache.org>
Fri, 30 May 2003 22:36:15 +0000 (22:36 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 30 May 2003 22:36:15 +0000 (22:36 +0000)
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

os/netware/pre_nw.h

index ce5ebe4833f37fd8f56b45280f4831c8edb393f3..bdf5f1ad1949f588de20a2292dda81bf68afc5f5 100644 (file)
@@ -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
 
 
 /* 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