Skip to content

Commit 8401f06

Browse files
committed
Treat __s390x__ the same as __s390__. (taken from RPM patch set)
1 parent 2df4087 commit 8401f06

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/include/port/linux.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ typedef unsigned int slock_t;
3333

3434
#define HAS_TEST_AND_SET
3535

36-
#elif defined(__s390__)
36+
#elif defined(__s390__) || defined(__s390x__)
3737
typedef unsigned int slock_t;
3838

3939
#define HAS_TEST_AND_SET

src/include/storage/s_lock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.93 2001/05/24 15:53:34 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.94 2001/09/24 20:10:44 petere Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -162,7 +162,7 @@ tas(volatile slock_t *lock)
162162

163163
#endif /* __arm__ */
164164

165-
#if defined(__s390__)
165+
#if defined(__s390__) || defined(__s390x__)
166166
/*
167167
* S/390 Linux
168168
*/

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