msvc-inval.m4 732 B

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