summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-11-11 18:30:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-11-11 18:30:05 (GMT)
commit59459d5eb8abd48f720749acde6925b588b469b9 (patch)
tree6ea3243d027840e2682045dd92f5ccb227e50b71 /src
parent4305e64b67d1110ca11225f427afa80d5000f933 (diff)
downloadhdf5-59459d5eb8abd48f720749acde6925b588b469b9.zip
hdf5-59459d5eb8abd48f720749acde6925b588b469b9.tar.gz
hdf5-59459d5eb8abd48f720749acde6925b588b469b9.tar.bz2
[svn-r6068] Purpose:
Fix Windows portability bug Description: "long long" is not defined on Windows. Solution: Use our internal definition of "long_long" instead. Platforms tested: eyeballed.
Diffstat (limited to 'src')
-rw-r--r--src/H5T.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index a3bd7cd..1aff6ab 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -3029,12 +3029,12 @@ H5T_t* H5T_get_native_integer(size_t size, H5T_sign_t sign, H5T_direction_t dire
match=H5T_NATIVE_INT_MATCH_INT;
else if(size==sizeof(long))
match=H5T_NATIVE_INT_MATCH_LONG;
- else if(size==sizeof(long long))
+ else if(size==sizeof(long_long))
match=H5T_NATIVE_INT_MATCH_LLONG;
else /* If no native type matches the querried datatype, simply choose the type of biggest size. */
match=H5T_NATIVE_INT_MATCH_LLONG;
} else if(direction == H5T_DIR_DESCEND) {
- if(size==sizeof(long long))
+ if(size==sizeof(long_long))
match=H5T_NATIVE_INT_MATCH_LLONG;
else if(size==sizeof(long))
match=H5T_NATIVE_INT_MATCH_LONG;