diff options
| author | Bruce Momjian | 2001-11-15 16:35:19 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2001-11-15 16:35:19 +0000 |
| commit | ea436f9fcf8c5d7a27459dfedf6bae87b21ef726 (patch) | |
| tree | eef54d28d2e6fd83c2222c8913dd5d6b05e52cb1 /src/include/c.h | |
| parent | 2c1784a9c7b52c0acee88420aeabd6171be76c6e (diff) | |
Well the absolute correct solution would involve all of:
int8, int16, int32, int64 and separately uint8, uint16, uint32, uint64
The previous patch grouped:
int8, int16 and int32
uint8, uint16 and uint32
int64 and uint64 <-- this grouping is wrong on AIX 4.3.3 and below
If you prefer to make 4 groups out of this you could apply this patch.
Andreas
Diffstat (limited to 'src/include/c.h')
| -rw-r--r-- | src/include/c.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/c.h b/src/include/c.h index d4a67aa69f0..65fde5a4d61 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.110 2001/11/15 16:09:34 momjian Exp $ + * $Id: c.h,v 1.111 2001/11/15 16:35:19 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -270,29 +270,29 @@ typedef double *float64; */ #ifdef HAVE_LONG_INT_64 /* Plain "long int" fits, use it */ -#if SIZEOF_INT8 == 0 +#if SIZEOF_INT64 == 0 typedef long int int64; #endif -#if SIZEOF_UINT8 == 0 +#if SIZEOF_UINT64 == 0 typedef unsigned long int uint64; #endif #else #ifdef HAVE_LONG_LONG_INT_64 /* We have working support for "long long int", use that */ -#if SIZEOF_INT8 == 0 +#if SIZEOF_INT64 == 0 typedef long long int int64; #endif -#if SIZEOF_UINT8 == 0 +#if SIZEOF_UINT64 == 0 typedef unsigned long long int uint64; #endif #else /* Won't actually work, but fall back to long int so that code compiles */ -#if SIZEOF_INT8 == 0 +#if SIZEOF_INT64 == 0 typedef long int int64; #endif -#if SIZEOF_UINT8 == 0 +#if SIZEOF_UINT64 == 0 typedef unsigned long int uint64; #endif |
