summaryrefslogtreecommitdiffstats
path: root/src/hdf5port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdf5port.h')
-rw-r--r--src/hdf5port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hdf5port.h b/src/hdf5port.h
index 3f3a5c2..4045435 100644
--- a/src/hdf5port.h
+++ b/src/hdf5port.h
@@ -170,6 +170,8 @@ typedef MPFILE *hdf_file_t;
/* non-standard function, not defined on the following mahcines - */
#if !(defined VMS || defined macintosh || defined MAC || defined __MWERKS__ || defined SYMANTEC_C || defined MIPSEL || defined NEXT || defined CONVEX || defined IBM6000 || defined ANSISUN || defined IRIX)
# define HDstrdup(s) ((char *)strdup((const char *)(s)))
+#else
+# define HDstrdup(s) strdup(s)
#endif /* !(VMS | etc..) */