summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-11-16 21:40:04 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-11-16 21:40:04 (GMT)
commitc249ccfd1502c428b820d6316a5cf7a0a9d5ca82 (patch)
tree6480ed46a173986a61e556339a97330a5d81907f /src/H5win32defs.h
parent69a531786037ecb77933e676d05c5a5cd1dbba4b (diff)
downloadhdf5-c249ccfd1502c428b820d6316a5cf7a0a9d5ca82.zip
hdf5-c249ccfd1502c428b820d6316a5cf7a0a9d5ca82.tar.gz
hdf5-c249ccfd1502c428b820d6316a5cf7a0a9d5ca82.tar.bz2
[svn-r19796] 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)