Skip to content

Commit 2a07e65

Browse files
committed
From: Zeugswetter Andreas SARZ <Andreas.Zeugswetter@telecom.at>
Only occurrs in src/include/storage/s_lock.h:#if defined(__AIX) src/include/utils/dt.h:#if defined(__AIX) src/include/utils/nabstime.h:#if defined(__AIX) Simply delete one underscore, only occurs once per file, so no patch.
1 parent a04dcc9 commit 2a07e65

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/include/storage/s_lock.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.25 1998/02/13 05:09:50 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.26 1998/02/13 17:11:55 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -141,7 +141,7 @@ static int tas(slock_t *lock);
141141
* (see storage/ipc.h).
142142
*/
143143

144-
#if defined(__AIX)
144+
#if defined(_AIX)
145145

146146
#define S_LOCK(lock) do \
147147
{ \
@@ -153,7 +153,7 @@ static int tas(slock_t *lock);
153153

154154
#define S_INIT_LOCK(lock) S_UNLOCK(lock)
155155

156-
#endif /* __AIX */
156+
#endif /* _AIX */
157157

158158
/*
159159
* HP-UX (PA-RISC)

src/include/utils/dt.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $Id: dt.h,v 1.26 1998/02/03 02:09:02 scrappy Exp $
11+
* $Id: dt.h,v 1.27 1998/02/13 17:12:07 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -187,11 +187,11 @@ typedef struct
187187
/* keep this struct small; it gets used a lot */
188188
typedef struct
189189
{
190-
#if defined(__AIX)
190+
#if defined(_AIX)
191191
char *token;
192192
#else
193193
char token[TOKMAXLEN];
194-
#endif /* __AIX */
194+
#endif /* _AIX */
195195
char type;
196196
char value; /* this may be unsigned, alas */
197197
} datetkn;

src/include/utils/nabstime.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: nabstime.h,v 1.14 1998/02/03 02:09:08 scrappy Exp $
9+
* $Id: nabstime.h,v 1.15 1998/02/13 17:12:08 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -53,7 +53,7 @@ typedef TimeIntervalData *TimeInterval;
5353
#define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB) /* 2147483644 == 2^31 -
5454
* 4 */
5555

56-
#if defined(__AIX)
56+
#if defined(_AIX)
5757
/*
5858
* AIX considers 2147483648 == -2147483648 (since they have the same bit
5959
* representation) but uses a different sign sense in a comparison to
@@ -63,7 +63,7 @@ typedef TimeIntervalData *TimeInterval;
6363
#define NOSTART_ABSTIME ((AbsoluteTime) INT_MIN)
6464
#else
6565
#define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001) /* -2147483647 == - 2^31 */
66-
#endif /* __AIX */
66+
#endif /* _AIX */
6767

6868
#define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE) /* 2147483647 == 2^31 -
6969
* 1 */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy