diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-04-01 03:18:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-04-01 03:18:01 (GMT) |
commit | 1e38134185b2c049c62329740cf5a037c953f1a9 (patch) | |
tree | 2b0c0237e3e77378fa3e54ee3e607fb264a1b33c /configure.in | |
parent | 6801f8f4c6d8215f017fc12f6ce3e596755eccbe (diff) | |
download | hdf5-1e38134185b2c049c62329740cf5a037c953f1a9.zip hdf5-1e38134185b2c049c62329740cf5a037c953f1a9.tar.gz hdf5-1e38134185b2c049c62329740cf5a037c953f1a9.tar.bz2 |
[svn-r3742] Purpose:
Code cleanup
Description:
ssize_t is not defined on certain (non-UNIX) platforms.
Solution:
Added steps to configure to generate SIZEOF_SSIZE_T macro and then used
the new macro to define ssize_t for platforms which don't have it.
Platforms tested:
FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 0193c1e..27b2ea0 100644 --- a/configure.in +++ b/configure.in @@ -487,6 +487,7 @@ AC_CHECK_SIZEOF( int_fast64_t, 8) AC_CHECK_SIZEOF( uint_fast64_t, 8) AC_CHECK_SIZEOF(size_t, 4) +AC_CHECK_SIZEOF(ssize_t, 4) cat >>confdefs.h <<\EOF #include <sys/types.h> /*for off_t definition*/ EOF |