瀏覽代碼

fix travis build

Signed-off-by: Kim Kulling <[email protected]>
Kim Kulling 10 年之前
父節點
當前提交
97946e25c9
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      code/fast_atof.h

+ 8 - 2
code/fast_atof.h

@@ -21,8 +21,14 @@
 #include <stdexcept>
 
 #include "StringComparison.h"
-//#include "../include/assimp/Compiler/pstdint.h"
-#include <stdint.h>
+
+
+#ifdef _MSC_VER 
+#  include <stdint.h>
+#else 
+#include "../include/assimp/Compiler/pstdint.h"
+#endif
+
 namespace Assimp
 {