Author: tschoening
Date: Fri Feb 14 11:10:00 2014
New Revision: 1568239

URL: http://svn.apache.org/r1568239
Log:
bcc-needs-stdint was wrongly set for non-bcc compilers resulting in more than 
on include for stdint.h

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=1568239&r1=1568238&r2=1568239&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:10:00 2014
@@ -129,15 +129,17 @@
                code files.
         -->
        <condition      property="bcc-needs-stdint"
-                               value="0"
-                               else="1">
+                               value="1"
+                               else="0">
                <and>
-                       <isfileselected 
file="${include.dir}/private/apu_config.h">
-                               <contains       text="#include &lt;stdint.h&gt;"
-                                                       ignorewhitespace="true"
-                               />
-                       </isfileselected>
                        <equals arg1="${compiler}" arg2="bcc" />
+                       <not>
+                               <isfileselected 
file="${include.dir}/private/apu_config.h">
+                                       <contains       text="#include 
&lt;stdint.h&gt;"
+                                                               
ignorewhitespace="true"
+                                       />
+                               </isfileselected>
+                       </not>
                </and>
        </condition>
        <if>


Reply via email to