diff options
author | Brian Paul <[email protected]> | 2000-09-15 15:42:45 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-09-15 15:42:45 +0000 |
commit | f7a4bcaf7970c18ad2ca1d1714babbc307775e70 (patch) | |
tree | 890daa2b99b8aa004cd1bba1c5fc7012322163d2 /src/mesa/main/glheader.h | |
parent | 64a23a0f9c6a08f6118f6488c191a079c43245a2 (diff) |
use cpml.h on Alpha (AlanH)
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r-- | src/mesa/main/glheader.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index d2e9b54da17..ab5cb2e4775 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -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 @@ -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> |