projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5873faf
)
define M_E if needed
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 16 May 2005 01:32:57 +0000
(
01:32
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 16 May 2005 01:32:57 +0000
(
01:32
+0000)
src/mesa/main/imports.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.h
b/src/mesa/main/imports.h
index 2ae1116f4128500f1a09ded55eb181edd993db74..a4afaf17d1c2f44c3f0a5268f7b6efda9da40f0d 100644
(file)
--- a/
src/mesa/main/imports.h
+++ b/
src/mesa/main/imports.h
@@
-224,6
+224,11
@@
typedef union { GLfloat f; GLint i; } fi_type;
#define M_PI (3.1415926536)
#endif
+#ifndef M_E
+#define M_E (2.7182818284590452354)
+#endif
+
+
/* XXX this is a bit of a hack needed for compilation within XFree86 */
#ifndef FLT_MIN
#define FLT_MIN (1.0e-37)