summaryrefslogtreecommitdiffstats
path: root/test/mtime.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-01-25 17:03:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-01-25 17:03:29 (GMT)
commita319837a4fd95c29e6754593264c1429deaa506b (patch)
tree930ac1ddbc4381c1ce5ef33f00c96f9073ff3e9a /test/mtime.c
parent51bd03c8a5e3c1ffbf46edb9feee1f8776e4e462 (diff)
downloadhdf5-a319837a4fd95c29e6754593264c1429deaa506b.zip
hdf5-a319837a4fd95c29e6754593264c1429deaa506b.tar.gz
hdf5-a319837a4fd95c29e6754593264c1429deaa506b.tar.bz2
[svn-r3326] Purpose:
Clean up warnings Description: The "FAILED" macro is defined by Windows and is causing warnings and potential errors when compiled on that platform. Solution: Change our macro from FAILED to H5_FAILED. Platforms tested: FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'test/mtime.c')
-rw-r--r--test/mtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mtime.c b/test/mtime.c
index 5c5992b..a579d93 100644
--- a/test/mtime.c
+++ b/test/mtime.c
@@ -78,7 +78,7 @@ main(void)
/* Compare times from the two ways of calling H5Gget_objinfo() */
if (sb1.objno[0]!=sb2.objno[0] || sb1.objno[1]!=sb2.objno[1] ||
sb1.mtime!=sb2.mtime) {
- FAILED();
+ H5_FAILED();
puts(" Calling H5Gget_objinfo() with the dataset ID returned");
puts(" different values than calling it with a file and dataset");
puts(" name.");
@@ -93,7 +93,7 @@ main(void)
puts(" cannot be queried on this system. See H5O_mtime_decode().");
return 0;
} else if (fabs(HDdifftime(now, sb1.mtime))>60.0) {
- FAILED();
+ H5_FAILED();
tm = localtime(&(sb1.mtime));
strftime((char*)buf1, sizeof buf1, "%Y-%m-%d %H:%M:%S", tm);
tm = localtime(&now);