]> granicus.if.org Git - postgresql/commitdiff
Make new DISABLE_COMPLEX_MACRO for compilers that can't handle our
authorBruce Momjian <bruce@momjian.us>
Sun, 14 Jun 1998 01:34:07 +0000 (01:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 14 Jun 1998 01:34:07 +0000 (01:34 +0000)
macros.

src/include/access/heapam.h
src/include/port/univel.h

index 8e322b1d9157ff3100741d25672fe04e99a790d0..56aa0e66eb045d298f5e217fc0533957f80febc8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: heapam.h,v 1.31 1998/03/01 04:46:56 scrappy Exp $
+ * $Id: heapam.h,v 1.32 1998/06/14 01:34:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -88,7 +88,7 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
  *
  * ----------------
  */
-#if !defined(USE_UNIVEL_CC)
+#if !defined(DISABLE_COMPLEX_MACRO)
 
 #define fastgetattr(tup, attnum, tupleDesc, isnull) \
 ( \
@@ -132,7 +132,7 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
        ) \
 )
 
-#else /* !defined(USE_UNIVEL_CC) */
+#else /* !defined(DISABLE_COMPLEX_MACRO) */
 
 extern Datum nocachegetattr(HeapTuple tup, int attnum,
                                                 TupleDesc att, bool *isnull);
index cd52bd76877bd06b2acd2e3bf8ff818445d8139d..ae706eda5e0b6da2ba43d994a68986dfe35500cf 100644 (file)
  * the native UNIXWARE C compiler.
  ***************************************/
 #define USE_UNIVEL_CC
+
 typedef unsigned char slock_t;
 
+#define DISABLE_COMPLEX_MACRO
+
 /***************************************************************
  * strcasecmp() is in c89.a. The following include will get the
  * needed prototype.