#define __USE_GNU
#endif
+#if 0
# include <fenv.h>
#elif HAVE_FPU_CONTROL_H
# include <fpu_control.h>
#elif HAVE_SYS_FPU_H
# include <sys/fpu.h>
#endif
+#endif
#include "gvplugin_render.h"
#include "gvplugin_device.h"
#include <cairo-glitz.h>
#endif
+#if 0
#if defined(HAVE_FENV_H) && defined(HAVE_FESETENV) && defined(HAVE_FEGETENV) && defined(HAVE_FEENABLEEXCEPT)
/* place to save fp environment temporarily */
static fenv_t fenv; /* FIXME - not thread safe */
#endif
+#endif
static void cairogen_set_color(cairo_t * cr, gvcolor_t * color)
{
cairo_t *cr = NULL;
cairo_surface_t *surface;
+#if 0
#if defined(HAVE_FENV_H) && defined(HAVE_FESETENV) && defined(HAVE_FEGETENV) && defined(HAVE_FEDISABLEEXCEPT)
/* cairo generates FE_INVALID and other exceptions we
* want to ignore for now. Save the current fenv and
* The fenv is restored in cairogen_end_graph */
fegetenv(&fenv);
fedisableexcept(FE_ALL_EXCEPT);
+#endif
#endif
if (job->external_context && job->context) {
job->context = NULL;
}
+#if 0
#if defined HAVE_FENV_H && defined HAVE_FESETENV && defined HAVE_FEGETENV && defined(HAVE_FEENABLEEXCEPT)
/* Restore FP environment */
fesetenv(&fenv);
#endif
+#endif
}
static void cairogen_textpara(GVJ_t * job, pointf p, textpara_t * para)