summaryrefslogtreecommitdiff
path: root/src/mesa/main/glheader.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-22 23:20:12 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-03-22 23:20:12 +0000
commit780c4e057bbd940242874ac193dfec8738efb987 (patch)
treee78fd755f7511d02c4484f24a5d4c8a5dc00c7b9 /src/mesa/main/glheader.h
parent3769b3fed4f453fc622ddc5feaab4d81cfb72bf3 (diff)
added code to die on FP exceptions if DEBEG env var set to FP
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r--src/mesa/main/glheader.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 6a6eeab023..908ffe9b3c 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -1,4 +1,4 @@
-/* $Id: glheader.h,v 1.6 2000/02/24 15:12:05 brianp Exp $ */
+/* $Id: glheader.h,v 1.7 2000/03/22 23:20:12 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -52,6 +52,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#if defined(__linux__) && defined(__i386__)
+#include <fpu_control.h>
+#endif
#endif
#include <float.h>