aboutsummaryrefslogtreecommitdiffstats
path: root/custom.h
diff options
context:
space:
mode:
authorJohn Malmberg <wb8tyw@qsl.net>2019-09-30 07:30:28 -0500
committerJohn Malmberg <wb8tyw@qsl.net>2019-09-30 07:30:28 -0500
commitf6c499e45c2856d6b0fdee24d1f761a32539fcc6 (patch)
tree07cd59e1a33978ce098cdec7d65cbf403ddcb63d /custom.h
parent4a034ab5b224f2def385e99490cfaa69db3e1895 (diff)
downloadegawk-f6c499e45c2856d6b0fdee24d1f761a32539fcc6.tar.gz
egawk-f6c499e45c2856d6b0fdee24d1f761a32539fcc6.tar.bz2
egawk-f6c499e45c2856d6b0fdee24d1f761a32539fcc6.zip
OpenVMS does not provide ULLONG_MAX
Diffstat (limited to 'custom.h')
-rw-r--r--custom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/custom.h b/custom.h
index 44ae50ef..787e08bf 100644
--- a/custom.h
+++ b/custom.h
@@ -50,6 +50,11 @@
#ifndef SIZE_MAX
#define SIZE_MAX __INT32_MAX
#endif
+#ifndef __VAX
+#ifndef ULLONG_MAX
+#define ULLONG_MAX __UINT64_MAX
+#endif
+#endif
#endif
/* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */