apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r165339 - in /apr/apr/trunk: build/NWGNUenvironment.inc misc/netware/libprews.c
Date Fri, 29 Apr 2005 21:13:18 GMT
Author: bnicholes
Date: Fri Apr 29 14:13:17 2005
New Revision: 165339

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

Modified:
    apr/apr/trunk/build/NWGNUenvironment.inc
    apr/apr/trunk/misc/netware/libprews.c

Modified: apr/apr/trunk/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/build/NWGNUenvironment.inc?rev=165339&r1=165338&r2=165339&view=diff
==============================================================================
--- apr/apr/trunk/build/NWGNUenvironment.inc (original)
+++ apr/apr/trunk/build/NWGNUenvironment.inc Fri Apr 29 14:13:17 2005
@@ -125,6 +125,9 @@
 ifndef USE_STDSOCKETS
 DEFINES += -DUSE_WINSOCK
 endif
+ifndef DEBUG
+DEFINES += -DNDEBUG
+endif
 
 #
 # MetroWerks static Libraries

Modified: apr/apr/trunk/misc/netware/libprews.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/misc/netware/libprews.c?rev=165339&r1=165338&r2=165339&view=diff
==============================================================================
--- apr/apr/trunk/misc/netware/libprews.c (original)
+++ apr/apr/trunk/misc/netware/libprews.c Fri Apr 29 14:13:17 2005
@@ -48,6 +48,11 @@
     const char  **messages
 )
 {
+#ifdef USE_WINSOCK
+    WSADATA wsaData;
+#endif
+    apr_status_t status;
+    
     NX_LOCK_INFO_ALLOC(liblock, "Per-Application Data Lock", 0);
 
 #pragma unused(cmdLine)
@@ -60,11 +65,6 @@
 #pragma unused(messageCount)
 #pragma unused(messages)
 
-#ifdef USE_WINSOCK
-    WSADATA wsaData;
-#endif
-    apr_status_t status;
-    
     gLibId = register_library(DisposeLibraryData);
 
     if (gLibId < -1)



Mime
View raw message