summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5private.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/H5private.h b/src/H5private.h
index e96cc0f..64deb79 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -727,12 +727,14 @@ __DLL__ int64_t HDstrtoll (const char *s, const char **rest, int base);
* And now for a couple non-Posix functions... Watch out for systems that
* define these in terms of macros.
*/
-/*
-if !defined strdup && !defined HAVE_STRDUP && !defined _strdup
-char *strdup(const char *s);
+#ifdef LATER
+#if !defined strdup && !defined HAVE_STRDUP && !defined _strdup
+extern char *strdup(const char *s);
#endif
+#else /* LATER */
+extern char *strdup(const char *s);
+#endif /* LATER */
#define HDstrdup(S) strdup(S)
-*/
#ifdef WIN32