提交 b52c666a 编写于 作者: B Bruce Momjian

Make new DISABLE_COMPLEX_MACRO for compilers that can't handle our

macros.
上级 bedfe275
......@@ -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);
......
......@@ -10,8 +10,11 @@
* 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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册