summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-03-31 23:06:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-03-31 23:06:18 (GMT)
commit21bd3532dd468eda3f32014fdc236d2a003f3521 (patch)
tree96b2dc42a6bc3c66f19407debe598783d4f10cc2 /src/H5private.h
parent5d1838beab77a93f29ac0278ed43f9d1aec505b7 (diff)
downloadhdf5-21bd3532dd468eda3f32014fdc236d2a003f3521.zip
hdf5-21bd3532dd468eda3f32014fdc236d2a003f3521.tar.gz
hdf5-21bd3532dd468eda3f32014fdc236d2a003f3521.tar.bz2
[svn-r18474] Description:
Switch back to generating a .h file for the library settings. Also, tart it up a bit to avoid multiple inclusions, etc. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug & production FreeBSD/32 6.3 (duty)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 860e8ac..504d933 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1535,8 +1535,6 @@ 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
@@ -2262,6 +2260,9 @@ func_init_failed: \
/* Compile-time "assert" macro */
#define HDcompile_assert(e) do { enum { compile_assert__ = 1 / (e) }; } while(0)
+/* Include header for library build settings */
+#include "H5lib_settings.h"
+
/* Private functions, not part of the publicly documented API */
H5_DLL herr_t H5_init_library(void);
H5_DLL void H5_term_library(void);