summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-07-31 20:15:13 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-07-31 20:15:13 (GMT)
commit2f7273dc738c462e178eeddd21e2227403846cf0 (patch)
treee19caa7116df5d5a31e66d192187c71dc361b6cb
parent69bc830f8ac5312ef64d6d2bab2a40f7f29569f2 (diff)
downloadhdf5-2f7273dc738c462e178eeddd21e2227403846cf0.zip
hdf5-2f7273dc738c462e178eeddd21e2227403846cf0.tar.gz
hdf5-2f7273dc738c462e178eeddd21e2227403846cf0.tar.bz2
[svn-r7280] Purpose:
Bug Fix Description: In a fit of what can only be described as brain-damagedness, on blue, frost, etc. (AIX, really), when you include the zlib.h header file and are specifying that the compiler accept ANSI C, zlib.h undefines the "const" keyword if you don't have the variable STDC defined...*boggle*. Solution: Included a -DSTDC as a commandline flag for the compiler. Platforms tested: Snow (AIX 5.0) Only affects AIX machines, so no h5committest needed. Misc. update:
-rw-r--r--config/powerpc-ibm-aix5.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x
index a58bccd..a769ac0 100644
--- a/config/powerpc-ibm-aix5.x
+++ b/config/powerpc-ibm-aix5.x
@@ -8,10 +8,10 @@
# Use -D_LARGE_FILES by default to support large file size.
if test "X-" = "X-$CC"; then
if test "X-$enable_parallel" = "X-yes"; then
- CC='mpcc_r -qlanglvl=ansi -D_LARGE_FILES'
+ CC='mpcc_r -qlanglvl=ansi -D_LARGE_FILES -DSTDC'
CC_BASENAME=mpcc_r
else
- CC='xlc -qlanglvl=ansi -D_LARGE_FILES'
+ CC='xlc -qlanglvl=ansi -D_LARGE_FILES -DSTDC'
CC_BASENAME=xlc
fi
fi