summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-03-30 18:55:41 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-03-30 18:55:41 (GMT)
commite1282224cdd7c05ef3c278b4e46b85fb59b2bc72 (patch)
tree6f92746cc6e4567669c706880497a6a7338d3281 /src/H5private.h
parentabdfc0f817f84303b88410a5f5608a6655e45b8d (diff)
downloadhdf5-e1282224cdd7c05ef3c278b4e46b85fb59b2bc72.zip
hdf5-e1282224cdd7c05ef3c278b4e46b85fb59b2bc72.tar.gz
hdf5-e1282224cdd7c05ef3c278b4e46b85fb59b2bc72.tar.bz2
[svn-r18470] bug fix:
recent changes to the embedded library generation code does not quite work for the AIX system. The strings command of AIX does not display the embedded library information be default. Solution: Changed the H5libhhdf5_setting[] to be an extern variable. Also removed the const qualifier so that strings can see the variable data. Tested: Blue-print (with embedded-libinfo enabled and disabled).
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index d0d3ded..a67cac2 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1529,6 +1529,8 @@ typedef struct H5_debug_t {
extern H5_debug_t H5_debug_g;
#define H5DEBUG(X) (H5_debug_g.pkg[H5_PKG_##X].stream)
+/* Do not use const else AIX strings does not show it. */
+extern char H5libhdf5_settings[]; /* embedded library information */
/*-------------------------------------------------------------------------
* Purpose: These macros are inserted automatically just after the