Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb52c666

Browse files
committed
Make new DISABLE_COMPLEX_MACRO for compilers that can't handle our
macros.
1 parentbedfe27 commitb52c666

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎src/include/access/heapam.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: heapam.h,v 1.31 1998/03/01 04:46:56 scrappy Exp $
9+
* $Id: heapam.h,v 1.32 1998/06/14 01:34:07 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -88,7 +88,7 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
8888
*
8989
* ----------------
9090
*/
91-
#if !defined(USE_UNIVEL_CC)
91+
#if !defined(DISABLE_COMPLEX_MACRO)
9292

9393
#definefastgetattr(tup,attnum,tupleDesc,isnull) \
9494
( \
@@ -132,7 +132,7 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
132132
) \
133133
)
134134

135-
#else/* !defined(USE_UNIVEL_CC) */
135+
#else/* !defined(DISABLE_COMPLEX_MACRO) */
136136

137137
externDatumnocachegetattr(HeapTupletup,intattnum,
138138
TupleDescatt,bool*isnull);

‎src/include/port/univel.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
* the native UNIXWARE C compiler.
1111
***************************************/
1212
#defineUSE_UNIVEL_CC
13+
1314
typedefunsignedcharslock_t;
1415

16+
#defineDISABLE_COMPLEX_MACRO
17+
1518
/***************************************************************
1619
* strcasecmp() is in c89.a. The following include will get the
1720
* needed prototype.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp