summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-04-29 22:00:32 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-04-29 22:00:32 (GMT)
commit1b7ae2a5b729ce09209b36a47dd80a74b8cdadbc (patch)
tree73b84bc0f8c5cb70c38c7589bfe3b49d1728fd32 /src/H5private.h
parent8f4b37accf49681ff657bcd4496f3bd023895141 (diff)
downloadhdf5-1b7ae2a5b729ce09209b36a47dd80a74b8cdadbc.zip
hdf5-1b7ae2a5b729ce09209b36a47dd80a74b8cdadbc.tar.gz
hdf5-1b7ae2a5b729ce09209b36a47dd80a74b8cdadbc.tar.bz2
[svn-r10701]
Purpose: Bug fix Description: Some platforms (Windows) don't have the long long type, which causes automatic Fortran type matching to fail. A solution is to use HDF5's long_long type. Solution: Changed H5match_types.c to use long_long type. Moved definition of long_long out of H5private.h and into H5public.h. Platforms tested: mir, copper, pommier
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 95694c6..cc31395 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -283,24 +283,6 @@
#endif
/*
- * Although `long long' is part of the revised ANSI-C some compilers don't
- * support it yet. We define `long_long' as the longest integral integer type
- * supported by the compiler, usually 64 bits. It must be legal to qualify
- * `long_long' with `unsigned'.
- */
-#if H5_SIZEOF_LONG_LONG>0
-# define long_long long long
-#elif H5_SIZEOF___INT64>0
-# define long_long __int64 /*Win32*/
-# undef H5_SIZEOF_LONG_LONG
-# define H5_SIZEOF_LONG_LONG H5_SIZEOF___INT64
-#else
-# define long_long long int
-# undef H5_SIZEOF_LONG_LONG
-# define H5_SIZEOF_LONG_LONG H5_SIZEOF_LONG
-#endif
-
-/*
* Numeric data types. Some of these might be defined in Posix.1g, otherwise
* we define them with the closest available type which is at least as large
* as the number of bits indicated in the type name. The `int8' types *must*