aboutsummaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 4686de0919e..4f31cf2ecb9 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.85 2000/11/03 18:43:52 petere Exp $
+ * $Id: c.h,v 1.86 2001/01/09 16:07:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -277,13 +277,16 @@ typedef double float8;
#ifdef HAVE_LONG_INT_64
/* Plain "long int" fits, use it */
typedef long int int64;
+typedef unsigned long int uint64;
#else
#ifdef HAVE_LONG_LONG_INT_64
/* We have working support for "long long int", use that */
typedef long long int int64;
+typedef unsigned long long int uint64;
#else
/* Won't actually work, but fall back to long int so that code compiles */
typedef long int int64;
+typedef unsigned long int uint64;
#define INT64_IS_BUSTED
#endif
#endif