summaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorPeter Eisentraut2001-09-24 20:10:44 +0000
committerPeter Eisentraut2001-09-24 20:10:44 +0000
commit8401f06efd814f3e1eaf5fbe2068594ab919aeb7 (patch)
tree06a1e9eb1b373c99f46c6bbff49e1f97476f69bf /src/include/port/linux.h
parent2df4087a702d6828d3824fcc96d27b2fdd2b958c (diff)
Treat __s390x__ the same as __s390__. (taken from RPM patch set)
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 2dc8c45867c..c5d58489ba1 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