vtkFloatingPointExceptionsConfigure.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
4 #ifndef vtkFloatingPointExceptionsConfigure_h
5 #define vtkFloatingPointExceptionsConfigure_h
6 
7 #define VTK_HAS_FEENABLEEXCEPT
8 
9 // VTK_HAS_FEENABLEEXCEPT is only defined if the function exists.
10 #if defined(VTK_HAS_FEENABLEEXCEPT) && defined(_GNU_SOURCE)
11 # define VTK_USE_FENV 1
12 #endif
13 
14 #endif //vtkFloatingPointExceptionsConfigure_h