vtkFloatingPointExceptionsConfigure.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*=========================================================================
3 
4  Program: Visualization Toolkit
5  Module: vtkFloatingPointExceptionsConfigure.h.in
6 
7  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
8  All rights reserved.
9  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notice for more information.
14 
15 =========================================================================*/
16 
17 #ifndef vtkFloatingPointExceptionsConfigure_h
18 #define vtkFloatingPointExceptionsConfigure_h
19 
20 #define VTK_HAS_FEENABLEEXCEPT
21 
22 // VTK_HAS_FEENABLEEXCEPT is only defined if the function exists.
23 #if defined(VTK_HAS_FEENABLEEXCEPT) && defined(_GNU_SOURCE)
24 # define VTK_USE_FENV 1
25 #endif
26 
27 #endif //vtkFloatingPointExceptionsConfigure_h