VTK
|
00001 // -*- c++ -*- 00002 /*========================================================================= 00003 00004 Program: Visualization Toolkit 00005 Module: vtkFloatingPointExceptionsConfigure.h.in 00006 00007 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00016 00017 #ifndef __vtkFloatingPointExceptionsConfigure_h 00018 #define __vtkFloatingPointExceptionsConfigure_h 00019 00020 /* #undef VTK_HAS_FEENABLEEXCEPT */ 00021 00022 // VTK_HAS_FEENABLEEXCEPT is only defined if the function exists. 00023 #if defined(VTK_HAS_FEENABLEEXCEPT) && defined(_GNU_SOURCE) 00024 # define VTK_USE_FENV 1 00025 #endif 00026 00027 #endif //__vtkFloatingPointExceptionsConfigure_h