diff options
| author | Tom Lane | 2002-04-23 15:45:30 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-04-23 15:45:30 +0000 |
| commit | 28a898ad54a7fdf76aba835ab600222f25321484 (patch) | |
| tree | 9fcbfebea59a3c71bf6eb81713c7456f0b0eefa6 /src/include/utils/int8.h | |
| parent | bf1f2e545cf77365e232620b2c1c19a23addcd53 (diff) | |
Clean up INT64CONST conflicts. Make the pg_crc code use a macro called
UINT64CONST, since unsigned was what it wanted anyway. Centralize macro
definitions into c.h.
Diffstat (limited to 'src/include/utils/int8.h')
| -rw-r--r-- | src/include/utils/int8.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/utils/int8.h b/src/include/utils/int8.h index e2947e00508..ad3be8bc3ac 100644 --- a/src/include/utils/int8.h +++ b/src/include/utils/int8.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: int8.h,v 1.32 2002/04/21 19:48:31 thomas Exp $ + * $Id: int8.h,v 1.33 2002/04/23 15:45:30 tgl Exp $ * * NOTES * These data types are supported on all 64-bit architectures, and may @@ -20,21 +20,15 @@ #ifndef INT8_H #define INT8_H -#include "c.h" #include "fmgr.h" + /* this should be set in pg_config.h, but just in case it wasn't: */ #ifndef INT64_FORMAT #warning "Broken pg_config.h should have defined INT64_FORMAT" #define INT64_FORMAT "%ld" #endif -#ifdef HAVE_LL_CONSTANTS -#define INT64CONST(x) ((int64) x##LL) -#else -#define INT64CONST(x) ((int64) x) -#endif - extern Datum int8in(PG_FUNCTION_ARGS); extern Datum int8out(PG_FUNCTION_ARGS); |
