Browse Source

Include <cstdio> unconditionally in FileSystem.cpp to fix remove() compile error on Emscripten.

Lasse Öörni 9 years ago
parent
commit
250bb0e7d1
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Source/Urho3D/IO/FileSystem.cpp

+ 1 - 3
Source/Urho3D/IO/FileSystem.cpp

@@ -34,14 +34,12 @@
 
 #ifndef MINI_URHO
 #include <SDL/SDL_filesystem.h>
-#else
-#include <stdio.h>
 #endif
 
 #include <sys/stat.h>
+#include <cstdio>
 
 #ifdef _WIN32
-#include <cstdio>
 #ifndef _MSC_VER
 #define _WIN32_IE 0x501
 #endif