summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authordjm <djm>2001-08-12 03:02:50 +0000
committerdjm <djm>2001-08-12 03:02:50 +0000
commit970c89ef1cf8fd6be30e936684016a277bfd2d0d (patch)
treedc2c73584dc48f6a1436b2d83aa72e5b4b7c2067 /defines.h
parent10e3cd46895f344cc922dd2d9fb522eedde9464a (diff)
downloadopenssh-970c89ef1cf8fd6be30e936684016a277bfd2d0d.tar.gz
- (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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/defines.h b/defines.h
index 69827066..397a5443 100644
--- a/defines.h
+++ b/defines.h
@@ -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;