aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--custom.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a76a555f..eacf3c47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-30 John E. Malmberg <wb8tyw@qsl.net>
+
+ * custom.h: OpenVMS does not provide ULLONG_MAX
+
2019-09-20 Florian Weimer <fweimer@redhat.com>
* configure.ac (PRINTF_HAS_F_FORMAT): Include <string.h> for
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 */