diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1998-10-23 18:23:29 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1998-10-23 18:23:29 (GMT) |
commit | ca5f819b46581716e78b4d086c7104ccf951c3a3 (patch) | |
tree | 8d8846d94da9443e7f6b4b8b9815d29227943997 /src/H5public.h | |
parent | 3a7c54b06f37b0648e1d8f337d11a1f13b67d60c (diff) | |
download | hdf5-ca5f819b46581716e78b4d086c7104ccf951c3a3.zip hdf5-ca5f819b46581716e78b4d086c7104ccf951c3a3.tar.gz hdf5-ca5f819b46581716e78b4d086c7104ccf951c3a3.tar.bz2 |
[svn-r782] Win NT port- tested on Unix and NT
changes - all changes surrounded by a #if defined(WIN32)
defined __undef__ to be equal to nothing, changed long long to __int64
removed body of H5TimerBegin, defined F_OK,R_OK,W_OK, some other
changes involving header files.
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h index a487de7..d870851 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -82,8 +82,14 @@ typedef int hbool_t; * with small address spaces these are defined to be larger. */ #if defined(HAVE_LARGE_HSIZET) && SIZEOF_SIZE_T<SIZEOF_LONG_LONG +#if defined(WIN32) +typedef unsigned __int64 hsize_t; +typedef signed __int64 hssize_t; +typedef signed int ssize_t; +#else typedef unsigned long long hsize_t; typedef signed long long hssize_t; +#endif #else typedef size_t hsize_t; typedef ssize_t hssize_t; |