Debian Codegraph @

tools/gnulib/m4/msvc-inval.m4

raw
1 # msvc-inval.m4
2 # serial 1
3 dnl Copyright (C) 2011-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
7
8 AC_DEFUN([gl_MSVC_INVAL],
9 [
10 AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler])
11 if test $ac_cv_func__set_invalid_parameter_handler = yes; then
12 HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
13 AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1],
14 [Define to 1 on MSVC platforms that have the "invalid parameter handler"
15 concept.])
16 else
17 HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
18 fi
19 AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER])
20 ])