You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ts...@apache.org on 2014/02/14 12:36:53 UTC

svn commit: r1568247 - /incubator/log4cxx/trunk/src/ant/apr-util-build.xml

Author: tschoening
Date: Fri Feb 14 11:36:52 2014
New Revision: 1568247

URL: http://svn.apache.org/r1568247
Log:
ODBC is enabled by default in apu.h and BCC and VS 2013 don't compile without HAVE_SQL_H. I thought of depending on with-ODBC, but it doesn't seem to be available and just providing the definition is easier.

Modified:
    incubator/log4cxx/trunk/src/ant/apr-util-build.xml

Modified: incubator/log4cxx/trunk/src/ant/apr-util-build.xml
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/ant/apr-util-build.xml?rev=1568247&r1=1568246&r2=1568247&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/ant/apr-util-build.xml (original)
+++ incubator/log4cxx/trunk/src/ant/apr-util-build.xml Fri Feb 14 11:36:52 2014
@@ -319,16 +319,13 @@
 		<defineset>
 			<define name="XMLPARSEAPI" value=" " />
 		</defineset>
-		<defineset	define="WIN32 COMPILED_FROM_DSP"
+		<defineset	define="WIN32 COMPILED_FROM_DSP HAVE_SQL_H"
 					if="is-windows"
 		/>
 		<defineset if="is-bcc">
 			<define	name="EILSEQ"
 					value="50"
 			/>
-			<define	name="HAVE_SQL_H"
-					value="1"
-			/>
 		</defineset>
 		<defineset	define="_HAVE_CONFIG_H _REENTRANT _GNU_SOURCE"
 					if="is-gcc"