Debian Codegraph @

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 dnl This file is offered as-is, without any warranty.
8
9 AC_DEFUN([gl_MSVC_INVAL],
10 [
11 AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler])
12 if test $ac_cv_func__set_invalid_parameter_handler = yes; then
13 HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
14 AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1],
15 [Define to 1 on MSVC platforms that have the "invalid parameter handler"
16 concept.])
17 else
18 HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
19 fi
20 AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER])
21 ])