aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-27 00:12:03 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-27 00:12:03 +0900
commit5c98ee02d2ac7f20ab978be7645801adf03e4302 (patch)
treea4feb52465c7a7a95780fa28d238caaca33eaf5a /util.c
parenta97dedf761c6931cbb2b9267faad2395481a3f57 (diff)
downloadruby-5c98ee02d2ac7f20ab978be7645801adf03e4302.tar.gz
Define bounds-checking interfaces macro for each file
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util.c b/util.c
index 1030c3ecbe..f39e17b8b7 100644
--- a/util.c
+++ b/util.c
@@ -13,6 +13,10 @@
# define MINGW_HAS_SECURE_API 1
#endif
+#ifndef __STDC_WANT_LIB_EXT1__
+#define __STDC_WANT_LIB_EXT1__ 1
+#endif
+
#include "ruby/internal/config.h"
#include <ctype.h>