summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-11-17 00:33:48 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-11-17 00:33:48 (GMT)
commit10c3eb0a9fc87e6005c4dffb3dd078c37f584d26 (patch)
tree645d3cf9f0bdfb831a072c5ec89f93477dfa8e22 /src/H5win32defs.h
parent0ec9ac12efe8e2ff45b56d0e15779f565ff4d6e5 (diff)
downloadhdf5-10c3eb0a9fc87e6005c4dffb3dd078c37f584d26.zip
hdf5-10c3eb0a9fc87e6005c4dffb3dd078c37f584d26.tar.gz
hdf5-10c3eb0a9fc87e6005c4dffb3dd078c37f584d26.tar.bz2
[svn-r19797] Bug 2091: remove all Metraowerks compiler code bracheted by __MWERKS__.
Metraowerks compiler is no more. Make the code cleaner. Tested: H5committest plus jam serial.
Diffstat (limited to 'src/H5win32defs.h')
-rw-r--r--src/H5win32defs.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h
index d478e4c..fb37059 100644
--- a/src/H5win32defs.h
+++ b/src/H5win32defs.h
@@ -56,12 +56,7 @@ typedef __int64 h5_stat_size_t;
#endif /* H5_HAVE_GETTIMEOFDAY */
#define HDgetdrive() _getdrive()
#define HDlseek(F,O,W) _lseeki64(F,O,W)
-#if !defined(__MWERKS__)
-# /*MSVC*/
-# define HDoff_t __int64
-#else
-# define HDoff_t off_t
-#endif
+#define HDoff_t __int64
#define HDmemset(X,C,Z) memset((void*)(X),C,Z)
#define HDmkdir(S,M) _mkdir(S)
#define HDopen(S,F,M) _open(S,F|_O_BINARY,M)