diff options
author | Damien Miller <djm@mindrot.org> | 2001-08-12 13:02:50 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-08-12 13:02:50 +1000 |
commit | 56cb92968bc94322561e44959680a4dcf98bcc55 (patch) | |
tree | c6ad03f6c05c22d3fec5eb228031d4d87d38e39c /defines.h | |
parent | 113339e024642f5480efe438d1ae462af356387a (diff) |
- (djm) Fix detection of long long int support. Based on patch from
Michael Stone <mstone@cs.loyola.edu>. ok stevesk, tim
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.68 2001/06/29 16:56:16 stevesk Exp $ */ +/* $Id: defines.h,v 1.69 2001/08/12 03:02:51 djm Exp $ */ /* Necessary headers */ @@ -206,7 +206,6 @@ typedef long int int64_t; # if (SIZEOF_LONG_LONG_INT == 8) typedef long long int int64_t; # define HAVE_INT64_T 1 -# define HAVE_LONG_LONG_INT # endif # endif #endif @@ -221,6 +220,9 @@ typedef unsigned long long int u_int64_t; # endif # endif #endif +#if !defined(HAVE_LONG_LONG_INT) && (SIZEOF_LONG_LONG_INT == 8) +# define HAVE_LONG_LONG_INT 1 +#endif #ifndef HAVE_SOCKLEN_T typedef unsigned int socklen_t; |