summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-07-03 14:49:03 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-07-03 14:49:03 (GMT)
commitf9f0de7aa0529a0467e79b4521013328fab1e3e7 (patch)
tree83e73aec2d76e64e158ae3de0fbfc138a0dcef08 /src/H5Ppublic.h
parentf72cb07b0ac15e511de8c735f02713fb815079e9 (diff)
downloadhdf5-f9f0de7aa0529a0467e79b4521013328fab1e3e7.zip
hdf5-f9f0de7aa0529a0467e79b4521013328fab1e3e7.tar.gz
hdf5-f9f0de7aa0529a0467e79b4521013328fab1e3e7.tar.bz2
[svn-r4099]
Purpose: Code Cleanup Description: Updating CodeWarrior Port Solution: Move around some Windows and Metroworks ifdefs, etc. Platforms tested: Solaris 2.7 (arabica) Linux 2.2 (eirene)
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 74efab1..6c49956 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -28,6 +28,14 @@
#include "H5MMpublic.h"
#include "H5Zpublic.h"
+/* Metroworks <sys/types.h> doesn't define off_t. */
+#ifdef __MWERKS__
+typedef long off_t;
+/* Metroworks does not define EINTR in <errno.h> */
+# define EINTR 4
+#endif
+/*__MWERKS__*/
+
/* Property list classes */
typedef enum H5P_class_t {
H5P_NO_CLASS = -1, /*error return value */