diff options
author | John Malmberg <wb8tyw@qsl.net> | 2020-02-04 07:55:19 -0600 |
---|---|---|
committer | John Malmberg <wb8tyw@qsl.net> | 2020-02-04 07:55:19 -0600 |
commit | 87bc72662b25f10578041eaad3455639cbd812b1 (patch) | |
tree | dad4af4feed1a928d00797b6f445e0969a9b5a4a /vms | |
parent | 2746518fd96f9a784d5178b6c7337ad9b7360e30 (diff) | |
download | egawk-87bc72662b25f10578041eaad3455639cbd812b1.tar.gz egawk-87bc72662b25f10578041eaad3455639cbd812b1.tar.bz2 egawk-87bc72662b25f10578041eaad3455639cbd812b1.zip |
Remove OpenVMS code from dfa.c
Diffstat (limited to 'vms')
-rw-r--r-- | vms/ChangeLog | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | vms/generate_config_vms_h_gawk.com | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/vms/ChangeLog b/vms/ChangeLog index 3f632fe1..bfad7907 100644 --- a/vms/ChangeLog +++ b/vms/ChangeLog @@ -1,3 +1,9 @@ +2020-02-04 John E. Malmberg <wb8tyw@qsl.net> + + * generate_config_vms_h_gawk.com: + Create stdint.h if not supplied by OpenVMS and + add in the definitions required by support/dfa.h + 2020-02-03 John E. Malmberg <wb8tyw@qsl.net> * vmstest.com: Fix some issues where a test failure would stop the 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 $! |