summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-09-15 15:42:51 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-09-15 15:42:51 +0000
commit02489655617aae4e8a0d4041bc1078689ccf4a5d (patch)
treebbcd5553790121e23548b6b8430d035f6ea9eb10
parent29fb6b3525cc6f593e04a7164c5bb3e41cf8415a (diff)
use cpml.h on Alpha (AlanH)
-rw-r--r--src/mesa/main/glheader.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index d463aa8231e..7e1998d377f 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -1,4 +1,4 @@
-/* $Id: glheader.h,v 1.11.4.2 2000/09/12 15:41:13 brianp Exp $ */
+/* $Id: glheader.h,v 1.11.4.3 2000/09/15 15:42:51 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -47,7 +47,12 @@
#else
#include <assert.h>
#include <ctype.h>
+/* If we can use Compaq's Fast Math Library on Alpha */
+#if defined(__alpha__) && defined(CCPML)
+#include <cpml.h>
+#else
#include <math.h>
+#endif
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>