summaryrefslogtreecommitdiffstats
path: root/test/enum.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-07 16:03:02 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2001-06-07 16:03:02 (GMT)
commit504bc34f6015d2c4df03b024c95cdbbab71cbd5f (patch)
treeacb62b5417ce2d5ef9f1209a5a7ac7945eea7e45 /test/enum.c
parent80737b93ef4425801da0f24b592e9b1bb3e3bca9 (diff)
downloadhdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.zip
hdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.tar.gz
hdf5-504bc34f6015d2c4df03b024c95cdbbab71cbd5f.tar.bz2
[svn-r3974] code warrior port
Diffstat (limited to 'test/enum.c')
-rw-r--r--test/enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/enum.c b/test/enum.c
index 00677f1..d7e2ce4 100644
--- a/test/enum.c
+++ b/test/enum.c
@@ -207,7 +207,7 @@ test_tr1(hid_t file)
if (H5Tenum_insert(m_type, "WHITE", CPTR(eval, E1_WHITE))<0) goto error;
if (H5Tenum_insert(m_type, "BLACK", CPTR(eval, E1_BLACK))<0) goto error;
-#ifndef __WATCOMC__
+#if !defined (__WATCOMC__) || !defined(__MWERKS__)
assert(sizeof(c_e1)==sizeof(int));
#endif /* __WATCOMCC__ */
if ((f_type = H5Tcreate(H5T_ENUM, sizeof(c_e1)))<0) goto error;