diff options
author | tschoening <tschoening@13f79535-47bb-0310-9956-ffa450edef68> | 2014-02-14 11:10:00 +0000 |
---|---|---|
committer | tschoening <tschoening@13f79535-47bb-0310-9956-ffa450edef68> | 2014-02-14 11:10:00 +0000 |
commit | 6387c302734e4bd7066dafd6d689dd6594ec4545 (patch) | |
tree | 9b8f9b704af5d5d084a90eebd3a00a2d351ed56d | |
parent | cc8edc36093eb5091af874ae9fb396ed104cd9a5 (diff) | |
download | log4cxx-6387c302734e4bd7066dafd6d689dd6594ec4545.tar.gz |
bcc-needs-stdint was wrongly set for non-bcc compilers resulting in more than on include for stdint.h
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1568239 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ant/apr-util-build.xml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/ant/apr-util-build.xml b/src/ant/apr-util-build.xml index e7b661b..0a5b07c 100644 --- a/src/ant/apr-util-build.xml +++ b/src/ant/apr-util-build.xml @@ -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 <stdint.h>" - ignorewhitespace="true" - /> - </isfileselected> <equals arg1="${compiler}" arg2="bcc" /> + <not> + <isfileselected file="${include.dir}/private/apu_config.h"> + <contains text="#include <stdint.h>" + ignorewhitespace="true" + /> + </isfileselected> + </not> </and> </condition> <if> |