From 8401f06efd814f3e1eaf5fbe2068594ab919aeb7 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 24 Sep 2001 20:10:44 +0000 Subject: [PATCH] Treat __s390x__ the same as __s390__. (taken from RPM patch set) --- src/include/port/linux.h | 2 +- src/include/storage/s_lock.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/port/linux.h b/src/include/port/linux.h index 2dc8c45867..c5d58489ba 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -33,7 +33,7 @@ typedef unsigned int slock_t; #define HAS_TEST_AND_SET -#elif defined(__s390__) +#elif defined(__s390__) || defined(__s390x__) typedef unsigned int slock_t; #define HAS_TEST_AND_SET diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 86fc8e2c86..2188dcd9f2 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.93 2001/05/24 15:53:34 momjian Exp $ + * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.94 2001/09/24 20:10:44 petere Exp $ * *------------------------------------------------------------------------- */ @@ -162,7 +162,7 @@ tas(volatile slock_t *lock) #endif /* __arm__ */ -#if defined(__s390__) +#if defined(__s390__) || defined(__s390x__) /* * S/390 Linux */ -- 2.11.0