aboutsummaryrefslogtreecommitdiffstats
path: root/vms/generate_config_vms_h_gawk.com
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-02-09 21:35:51 +0200
committerArnold D. Robbins <arnold@skeeve.com>2020-02-09 21:35:51 +0200
commit4be99b75c7cf84c7b21d3bcb4011f3870a926c4c (patch)
tree6be368c9a4d424d2ac7091bf2b37afb128100792 /vms/generate_config_vms_h_gawk.com
parentec041138efb27d105b391d022300a782552efdd2 (diff)
parent02cea1f5bcaff4eaea5ed2db9f9d5cb7d8ab682b (diff)
downloadegawk-4be99b75c7cf84c7b21d3bcb4011f3870a926c4c.tar.gz
egawk-4be99b75c7cf84c7b21d3bcb4011f3870a926c4c.tar.bz2
egawk-4be99b75c7cf84c7b21d3bcb4011f3870a926c4c.zip
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/gawk
Diffstat (limited to 'vms/generate_config_vms_h_gawk.com')
-rwxr-xr-x[-rw-r--r--]vms/generate_config_vms_h_gawk.com8
1 files changed, 8 insertions, 0 deletions
diff --git a/vms/generate_config_vms_h_gawk.com b/vms/generate_config_vms_h_gawk.com
index b0d1ed1b..681a73b1 100644..100755
--- a/vms/generate_config_vms_h_gawk.com
+++ b/vms/generate_config_vms_h_gawk.com
@@ -67,6 +67,14 @@ $ then
$ create sys$disk:[]stdint.h
$ open/append stdint_h sys$disk:[]stdint.h
$ write stdint_h "/* Fake stdint.h for gnulib */"
+$ write stdint_h "#ifndef FAKE_STDINT"
+$ write stdint_h "#define FAKE_STDINT"
+$ write stdint_h "#include <fake_vms_path/limits.h>"
+$ write stdint_h "#define PTRDIFF_MAX (__INT32_MAX)"
+$ write stdint_h "#ifndef SIZE_MAX"
+$ write stdint_h "#define SIZE_MAX (__UINT32_MAX)"
+$ write stdint_h "#endif /* __VAX */"
+$ write stdint_h "#endif /* FAKE_STDINT */"
$ close stdint_h
$ endif
$!