summaryrefslogtreecommitdiffstats
path: root/apps/makeapps.com
diff options
context:
space:
mode:
Diffstat (limited to 'apps/makeapps.com')
-rw-r--r--apps/makeapps.com22
1 files changed, 21 insertions, 1 deletions
diff --git a/apps/makeapps.com b/apps/makeapps.com
index 4b33f68af0..9611a48bb1 100644
--- a/apps/makeapps.com
+++ b/apps/makeapps.com
@@ -599,7 +599,27 @@ $ POINTER_SIZE = "/POINTER_SIZE=32"
$ ELSE
$ IF (P6 .EQS. "64")
$ THEN
-$ POINTER_SIZE = "/POINTER_SIZE=64=ARGV"
+$ POINTER_SIZE = "/POINTER_SIZE=64"
+$ SET NOON
+$ DEFINE /USER SYS$OUTPUT NL:
+$ DEFINE /USER SYS$ERROR NL:
+$ CC /POINTER_SIZE=64=ARGV NL:
+$ IF ($STATUS .AND. %X0FFF0000) .EQ. %X00030000
+$ THEN
+$ ! If we got here, it means DCL complained like this:
+$ ! %DCL-W-NOVALU, value not allowed - remove value specification
+$ ! \64=\
+$ !
+$ ! If the compiler was run, logicals defined in /USER would
+$ ! have been deassigned automatically. However, when DCL
+$ ! complains, they aren't, so we do it here (it might be
+$ ! unnecessary, but just in case there will be another error
+$ ! message further on that we don't want to miss)
+$ DEASSIGN/USER SYS$ERROR
+$ DEASSIGN/USER SYS$OUTPUT
+$ ELSE
+$ POINTER_SIZE = POINTER_SIZE + "=ARGV"
+$ ENDIF
$ ARCHD = ARCH+ "_64"
$ LIB32 = ""
$ ELSE