]> granicus.if.org Git - postgresql/commitdiff
Repair stupid mistake in preprocessor directive.
authorRobert Haas <rhaas@postgresql.org>
Thu, 2 Apr 2015 19:57:17 +0000 (15:57 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 2 Apr 2015 19:57:17 +0000 (15:57 -0400)
src/backend/utils/adt/numeric.c

index cd339931be224e649e2fc1b2a7e3176df9b7bc77..dd108c8b5917b327689a6c34a77098e8092a09a7 100644 (file)
@@ -297,7 +297,7 @@ typedef struct
 } NumericSortSupport;
 
 #define NUMERIC_ABBREV_BITS (SIZEOF_DATUM * BITS_PER_BYTE)
-#ifdef SIZEOF_DATUM == 8
+#if SIZEOF_DATUM == 8
 #define DatumGetNumericAbbrev(d) ((int64) d)
 #define NUMERIC_ABBREV_NAN Int64GetDatum(PG_INT64_MIN)
 #else