From 87bc72662b25f10578041eaad3455639cbd812b1 Mon Sep 17 00:00:00 2001 From: John Malmberg Date: Tue, 4 Feb 2020 07:55:19 -0600 Subject: Remove OpenVMS code from dfa.c --- vms/generate_config_vms_h_gawk.com | 8 ++++++++ 1 file changed, 8 insertions(+) mode change 100644 => 100755 vms/generate_config_vms_h_gawk.com (limited to 'vms/generate_config_vms_h_gawk.com') diff --git a/vms/generate_config_vms_h_gawk.com b/vms/generate_config_vms_h_gawk.com old mode 100644 new mode 100755 index b0d1ed1b..681a73b1 --- 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 " +$ 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 $! -- cgit v1.2.3