summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-08-27 18:41:43 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-08-27 18:41:43 (GMT)
commit32dd71e593a757e66687c3c7e48b594f9fc853c4 (patch)
treef6a9738a947834ec37a80b3421d3e36a1a7919b5 /src
parent4cf4a5bb852903b4991dc647b884715df6f9e19c (diff)
downloadhdf5-32dd71e593a757e66687c3c7e48b594f9fc853c4.zip
hdf5-32dd71e593a757e66687c3c7e48b594f9fc853c4.tar.gz
hdf5-32dd71e593a757e66687c3c7e48b594f9fc853c4.tar.bz2
[svn-r4413]
Purpose: Feature add. Description: Added the H5CC program to the 1.4 branch. - Added to hdf5/tools/misc - Included in the configure.in script. - Added fix to configure.in which conditionally looks for the ssl and crypto libraries only if GASS or GRIDSTORAGE is being used. - Added to MANIFEST. - Needed to include a fix for the H5private.h header which was already in the 1.5 branch. It was having troubles with the way strdup() was being declared. Solution: For the strdup() problem, just synced that part of the H5private file with the one in the 1.5 branch. Platforms tested: Linux
Diffstat (limited to 'src')
-rw-r--r--src/H5private.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/H5private.h b/src/H5private.h
index c7732e7..d107c4e 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -744,13 +744,9 @@ __DLL__ int64_t HDstrtoll (const char *s, const char **rest, int base);
#define HDstrdup(S) _strdup(S)
#else
-#ifdef LATER
-#if !defined strdup && !defined HAVE_STRDUP
+#if !defined strdup && !defined H5_HAVE_STRDUP
extern char *strdup(const char *s);
-#endif
-#else /* LATER */
-extern char *strdup(const char *s);
-#endif /* LATER */
+#endif /* !strdup && !H5_HAVE_STRDUP */
#define HDstrdup(S) strdup(S)