Branimir Karadžić 9 years ago
parent
commit
e8dee2d79c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/common/entry/entry.cpp

+ 2 - 0
examples/common/entry/entry.cpp

@@ -56,6 +56,7 @@ namespace entry
 
 
 	static String s_currentDir;
 	static String s_currentDir;
 
 
+#if BX_CONFIG_CRT_FILE_READER_WRITER
 	class FileReader : public bx::CrtFileReader
 	class FileReader : public bx::CrtFileReader
 	{
 	{
 		typedef bx::CrtFileReader super;
 		typedef bx::CrtFileReader super;
@@ -81,6 +82,7 @@ namespace entry
 			return super::open(filePath.getPtr(), _append, _err);
 			return super::open(filePath.getPtr(), _append, _err);
 		}
 		}
 	};
 	};
+#endif // BX_CONFIG_CRT_FILE_READER_WRITER
 
 
 	void setCurrentDir(const char* _dir)
 	void setCurrentDir(const char* _dir)
 	{
 	{