OSDN Git Service

use cpml.h on Alpha (AlanH)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Sep 2000 15:42:45 +0000 (15:42 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Sep 2000 15:42:45 +0000 (15:42 +0000)
src/mesa/main/glheader.h

index d2e9b54..ab5cb2e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: glheader.h,v 1.13 2000/09/12 15:41:46 brianp Exp $ */
+/* $Id: glheader.h,v 1.14 2000/09/15 15:42:45 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
 #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>