Fix Ubuntu 16.10 build
authorBrad Davis <bdavis@saintandreas.org>
Tue, 7 Jun 2016 23:23:44 +0000 (16:23 -0700)
committerBrad Davis <bdavis@saintandreas.org>
Tue, 7 Jun 2016 23:23:44 +0000 (16:23 -0700)
glslang/MachineIndependent/intermOut.cpp

index d3d90c581c8769e0378895ad7666a6aed710336e..c37b31185b7be39c550415ee7b9973ae059dfd52 100644 (file)
@@ -39,6 +39,8 @@
 
 #ifdef _MSC_VER
 #include <float.h>
+#elif defined __ANDROID__ || defined __linux__ || __MINGW32__ || __MINGW64__
+#include <cmath>
 #else
 #include <math.h>
 #endif