Mesa (master): mesa: remove accidentally committed __SUNPRO_C sqrtf() code

Brian Paul brianp at kemper.freedesktop.org
Mon Sep 3 14:10:45 UTC 2012


Module: Mesa
Branch: master
Commit: 0b90da3252c03d13144f6876cf0b5d633f8e5828
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b90da3252c03d13144f6876cf0b5d633f8e5828

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Sep  3 08:03:05 2012 -0600

mesa: remove accidentally committed __SUNPRO_C sqrtf() code

---

 src/mesa/main/imports.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 2f854e5..60b0f11 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -156,10 +156,6 @@ static inline int isblank(int ch) { return ch == ' ' || ch == '\t'; }
 #endif
 /*@}*/
 
-#if defined(__SUNPRO_C)
-#define sqrtf(f) ((float) sqrt(f))
-#endif
-
 
 /***
  *** LOG2: Log base 2 of float




More information about the mesa-commit mailing list