summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-03-05 12:00:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-03-05 12:03:39 +0900
commit43a3c88187dcd54ba008834a865e50eb28a78de9 (patch)
tree990003517a9ecb1129c33d5d0a577e308a335308 /win32
parent740511834f3fa527d48e69bafdb4965bf0cb464a (diff)
[win32] get rid of redefinition of reserved macro
``` warning C4117: macro name '_INTEGRAL_MAX_BITS' is reserved, '#define' ignored ```
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index bd350dc..6d91bbc 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -635,7 +635,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define SIZEOF_LONG_LONG 0
!endif
#define SIZEOF___INT64 8
+#ifndef _INTEGRAL_MAX_BITS
#define _INTEGRAL_MAX_BITS 64
+#endif
!if $(LARGEFILE_SUPPORT)
#define SIZEOF_OFF_T 8
!else