mesa: add more work-arounds for acoshf(), asinhf(), atahf()
authorBrian Paul <brianp@vmware.com>
Tue, 16 Nov 2010 01:50:58 +0000 (18:50 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Nov 2010 01:50:58 +0000 (18:50 -0700)
src/mesa/main/imports.h

index 30fc152389db4616f03d2e9093205039483d01b3..5d4ef9bbabaa1497eab9f3fe3c84edeb314a61d9 100644 (file)
@@ -141,6 +141,9 @@ typedef union { GLfloat f; GLint i; } fi_type;
 #define sqrtf(f) ((float) sqrt(f))
 #define tanf(f) ((float) tan(f))
 #define tanhf(f) ((float) tanh(f))
+#define acoshf(f) ((float) acosh(f))
+#define asinhf(f) ((float) asinh(f))
+#define atanhf(f) ((float) atanh(f))
 #endif
 
 #if defined(_MSC_VER)