summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-03-30 18:54:15 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-03-30 18:54:15 (GMT)
commit5d1838beab77a93f29ac0278ed43f9d1aec505b7 (patch)
tree76fcb069e95a83a4956ce2be399f4dd9fe7627c1 /src/H5private.h
parentc49b97ff38ed25d5bb85225dc16059b0a8a5b774 (diff)
downloadhdf5-5d1838beab77a93f29ac0278ed43f9d1aec505b7.zip
hdf5-5d1838beab77a93f29ac0278ed43f9d1aec505b7.tar.gz
hdf5-5d1838beab77a93f29ac0278ed43f9d1aec505b7.tar.bz2
[svn-r18469] 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). Also tested in Jam.
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 277fe70..860e8ac 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1535,6 +1535,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