apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r165341 - in /apr/apr/branches/0.9.x: build/NWGNUenvironment.inc misc/netware/libprews.c
Date Fri, 29 Apr 2005 21:15:42 GMT
Author: bnicholes
Date: Fri Apr 29 14:15:42 2005
New Revision: 165341

URL: http://svn.apache.org/viewcvs?rev=165341&view=rev
Log:
Disable some default LibC debugging code when compiling optimized

Modified:
    apr/apr/branches/0.9.x/build/NWGNUenvironment.inc
    apr/apr/branches/0.9.x/misc/netware/libprews.c

Modified: apr/apr/branches/0.9.x/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/build/NWGNUenvironment.inc?rev=165341&r1=165340&r2=165341&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/build/NWGNUenvironment.inc (original)
+++ apr/apr/branches/0.9.x/build/NWGNUenvironment.inc Fri Apr 29 14:15:42 2005
@@ -116,6 +116,9 @@
 INCDIRS 	= $(NOVELLLIBC)\include;$(NOVELLLIBC)\include\nks;$(NOVELLLIBC)\include\winsock;
 
 DEFINES		= -DNETWARE
+ifndef DEBUG
+DEFINES += -DNDEBUG
+endif
 
 #
 # MetroWerks static Libraries

Modified: apr/apr/branches/0.9.x/misc/netware/libprews.c
URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/misc/netware/libprews.c?rev=165341&r1=165340&r2=165341&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/misc/netware/libprews.c (original)
+++ apr/apr/branches/0.9.x/misc/netware/libprews.c Fri Apr 29 14:15:42 2005
@@ -46,6 +46,9 @@
     const char  **messages
 )
 {
+    WSADATA wsaData;
+    apr_status_t status;
+
     NX_LOCK_INFO_ALLOC(liblock, "Per-Application Data Lock", 0);
 
 #pragma unused(cmdLine)
@@ -58,8 +61,6 @@
 #pragma unused(messageCount)
 #pragma unused(messages)
 
-    WSADATA wsaData;
-    apr_status_t status;
     
     gLibId = register_library(DisposeLibraryData);
 



Mime
View raw message