mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Define bounds-checking interfaces macro for each file
This commit is contained in:
parent
a97dedf761
commit
5c98ee02d2
Notes:
git
2023-08-26 16:23:20 +00:00
2 changed files with 4 additions and 3 deletions
|
@ -2153,9 +2153,6 @@ AC_CHECK_FUNCS(__sinpi)
|
||||||
AS_IF([test "x$ac_cv_member_struct_statx_stx_btime" = xyes],
|
AS_IF([test "x$ac_cv_member_struct_statx_stx_btime" = xyes],
|
||||||
[AC_CHECK_FUNCS(statx)])
|
[AC_CHECK_FUNCS(statx)])
|
||||||
|
|
||||||
AS_CASE(["$ac_cv_func_memset_s:$ac_cv_func_qsort_s"], [*yes*],
|
|
||||||
[RUBY_DEFINE_IF([!defined __STDC_WANT_LIB_EXT1__], [__STDC_WANT_LIB_EXT1__], 1)])
|
|
||||||
|
|
||||||
AS_IF([test "$ac_cv_func_getcwd" = yes], [
|
AS_IF([test "$ac_cv_func_getcwd" = yes], [
|
||||||
AC_CACHE_CHECK(if getcwd allocates buffer if NULL is given, [rb_cv_getcwd_malloc],
|
AC_CACHE_CHECK(if getcwd allocates buffer if NULL is given, [rb_cv_getcwd_malloc],
|
||||||
[AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
[AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||||
|
|
4
util.c
4
util.c
|
@ -13,6 +13,10 @@
|
||||||
# define MINGW_HAS_SECURE_API 1
|
# define MINGW_HAS_SECURE_API 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __STDC_WANT_LIB_EXT1__
|
||||||
|
#define __STDC_WANT_LIB_EXT1__ 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "ruby/internal/config.h"
|
#include "ruby/internal/config.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue