diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-23 15:45:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-23 15:45:30 +0000 |
commit | 28a898ad54a7fdf76aba835ab600222f25321484 (patch) | |
tree | 9fcbfebea59a3c71bf6eb81713c7456f0b0eefa6 /src/backend/utils/adt/int8.c | |
parent | bf1f2e545cf77365e232620b2c1c19a23addcd53 (diff) | |
download | postgresql-28a898ad54a7fdf76aba835ab600222f25321484.tar.gz postgresql-28a898ad54a7fdf76aba835ab600222f25321484.zip |
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/backend/utils/adt/int8.c')
-rw-r--r-- | src/backend/utils/adt/int8.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/backend/utils/adt/int8.c b/src/backend/utils/adt/int8.c index 685d5e34398..8e3451b3c5a 100644 --- a/src/backend/utils/adt/int8.c +++ b/src/backend/utils/adt/int8.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/int8.c,v 1.38 2002/04/21 19:48:12 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/int8.c,v 1.39 2002/04/23 15:45:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,17 +21,6 @@ #include "utils/int8.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 #define MAXINT8LEN 25 |