apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1090918 - /apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h
Date Mon, 11 Apr 2011 00:59:36 GMT
Author: fuankg
Date: Mon Apr 11 00:59:35 2011
New Revision: 1090918

URL: http://svn.apache.org/viewvc?rev=1090918&view=rev
Log:
Avoid redefines.

Modified:
    apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h

Modified: apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h?rev=1090918&r1=1090917&r2=1090918&view=diff
==============================================================================
--- apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h (original)
+++ apr/apr/trunk/include/arch/netware/apr_arch_pre_nw.h Mon Apr 11 00:59:35 2011
@@ -18,19 +18,22 @@
 
 #include <stdint.h>
 
-#ifndef __GNUC__
+#ifdef __MWERKS__
 #pragma precompile_target "precomp.mch"
 #endif
 
+#ifndef NETWARE
 #define NETWARE
+#endif
 
+#ifndef N_PLAT_NLM
 #define N_PLAT_NLM
+#endif
 
 #define FAR
 #define far
 
-/* no-op for Codewarrior C compiler; a functions are cdecl 
-   by default */
+/* no-op for Codewarrior C compiler; all functions are cdecl by default */
 #define cdecl
 
 /* if we have wchar_t enabled in C++, predefine this type to avoid



Mime
View raw message