From 7bfe8df08aa53f04031f0812d3bd4164581df559 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 May 2005 01:32:57 +0000 Subject: define M_E if needed --- src/mesa/main/imports.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mesa/main') diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 2ae1116f41..a4afaf17d1 100644 --- 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) -- cgit v1.2.3