diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-11 15:58:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-11 15:58:12 (GMT) |
commit | 04223a18f42f806646f8bb4a0ebfd819779d4ed4 (patch) | |
tree | 3a0321cb258b700639dd5486766585fc247001a8 /src/H5Omtime.c | |
parent | 47bef3253073160b2eddecf0fc7da00e142d7d52 (diff) | |
download | hdf5-04223a18f42f806646f8bb4a0ebfd819779d4ed4.zip hdf5-04223a18f42f806646f8bb4a0ebfd819779d4ed4.tar.gz hdf5-04223a18f42f806646f8bb4a0ebfd819779d4ed4.tar.bz2 |
[svn-r2866] Purpose:
Code cleanup
Description:
Found more "Have_foo" usage and converted them to "H5_HAVE_foo"
Platforms tested:
FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r-- | src/H5Omtime.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c index fc57f58..6151915 100644 --- a/src/H5Omtime.c +++ b/src/H5Omtime.c @@ -112,16 +112,16 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p, "badly formatted modification time message"); } -#if defined(HAVE_TM_GMTOFF) +#if defined(H5_HAVE_TM_GMTOFF) /* FreeBSD, OSF 4.0 */ the_time += tm.tm_gmtoff; -#elif defined(HAVE___TM_GMTOFF) +#elif defined(H5_HAVE___TM_GMTOFF) /* Linux libc-4 */ the_time += tm.__tm_gmtoff; -#elif defined(HAVE_TIMEZONE) +#elif defined(H5_HAVE_TIMEZONE) /* Linux libc-5 */ the_time -= timezone - (tm.tm_isdst?3600:0); -#elif defined(HAVE_BSDGETTIMEOFDAY) && defined(HAVE_STRUCT_TIMEZONE) +#elif defined(H5_HAVE_BSDGETTIMEOFDAY) && defined(H5_HAVE_STRUCT_TIMEZONE) /* Irix5.3 */ { struct timezone tz; @@ -131,7 +131,7 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p, } the_time -= tz.tz_minuteswest*60 - (tm.tm_isdst?3600:0); } -#elif defined(HAVE_GETTIMEOFDAY) && defined(HAVE_STRUCT_TIMEZONE) +#elif defined(H5_HAVE_GETTIMEOFDAY) && defined(H5_HAVE_STRUCT_TIMEZONE) { struct timezone tz; if (gettimeofday(NULL, &tz)<0) { |