summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-04-08 11:00:38 -0600
committerKarl Williamson <khw@cpan.org>2022-04-19 21:25:16 -0600
commite97bbfdf9bb27fb8976569b4871be62c9ef0f21a (patch)
tree3245336b20a5f412d91629cbe783d01d11a3454d /hints
parent5ede4453c4877110eb5214ff400c173210b101b1 (diff)
downloadperl-e97bbfdf9bb27fb8976569b4871be62c9ef0f21a.tar.gz
hints/os390.sh: #define os390
This OS has some unique qualities that are hard to test for in Configure, and aren't likely to go away.
Diffstat (limited to 'hints')
-rw-r--r--hints/os390.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/os390.sh b/hints/os390.sh
index 6d1538fc54..8995d8c353 100644
--- a/hints/os390.sh
+++ b/hints/os390.sh
@@ -35,6 +35,9 @@ esac
# "unicode literals" to be enabled
def_os390_cflags='-qlanglvl=extc1x';
+# For #ifdefs in code
+def_os390_defs="-DOS390 -DZOS";
+
# Turn on POSIX compatibility modes
# https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.bpxbd00/ftms.htm
def_os390_defs="$def_os390_defs -D_ALL_SOURCE";