Index: trunk/Mars/mbase/MQuaternion.h
===================================================================
--- trunk/Mars/mbase/MQuaternion.h	(revision 18568)
+++ trunk/Mars/mbase/MQuaternion.h	(revision 18591)
@@ -9,5 +9,7 @@
 #ifndef ROOT_TQuaternion
 #include <math.h>
+#if (__GNUC__ < 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ < 8))
 #define sqrt ::sqrt
+#endif
 #include <TQuaternion.h>
 #undef sqrt
