Smoke:
[blender.git] / intern / smoke / intern / VEC3.h
index ae159e11b4bfffe235070a832585439b6b7ec7e0..607f68279a2a4fed2e89217c75ba753556557233 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <stdio.h>
 #include <iostream>
 #include <sstream>
 
@@ -936,12 +937,14 @@ std::ostream&
 operator<<( std::ostream& os, const BasicVector::Vector3Dim<Scalar>& i )
 {
        char buf[256];
+#if 0
 #if _WIN32
   sprintf(buf,globVecFormatStr, (double)i[0],(double)i[1],(double)i[2]);
 #else
   snprintf(buf,256,globVecFormatStr, (double)i[0],(double)i[1],(double)i[2]);
 #endif
        os << std::string(buf); 
+#endif
   return os;
 }