apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r991754 - /apr/apr/trunk/include/arch/netware/apr_private.h
Date Wed, 01 Sep 2010 23:07:29 GMT
Author: fuankg
Date: Wed Sep  1 23:07:29 2010
New Revision: 991754

URL: http://svn.apache.org/viewvc?rev=991754&view=rev
Log:
Include alloca.h to get compiler-dependent defines.

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

Modified: apr/apr/trunk/include/arch/netware/apr_private.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/netware/apr_private.h?rev=991754&r1=991753&r2=991754&view=diff
==============================================================================
--- apr/apr/trunk/include/arch/netware/apr_private.h (original)
+++ apr/apr/trunk/include/arch/netware/apr_private.h Wed Sep  1 23:07:29 2010
@@ -31,9 +31,13 @@
 /* Pick up privately consumed headers */
 #include <ndkvers.h>
 
+/* Include alloca.h to get compiler-dependent defines */ 
+#include <alloca.h>
+
 /* Use this section to define all of the HAVE_FOO_H
  * that are required to build properly.
  */
+#define HAVE_ALLOCA_H   1
 #define HAVE_DLFCN_H    1
 #define HAVE_LIMITS_H   1
 #define HAVE_SIGNAL_H   1
@@ -163,7 +167,9 @@ void* getStatCache();
     and can be shared by the library. */
 #undef malloc
 #define malloc(x) library_malloc(gLibHandle,x)
+#ifndef __MWERKS__
 #define _alloca alloca
+#endif
 
 #if APR_HAS_LARGE_FILES
 #define APR_OFF_T_STRFN       strtoll



Mime
View raw message