Parcourir la source

linux fix after windows fixes

mikymod il y a 12 ans
Parent
commit
672c5ba07f

+ 1 - 1
engine/compilers/lua/LuaCompiler.cpp

@@ -36,7 +36,7 @@ namespace crown
 
 #ifdef WINDOWS
 	#define LUAJIT "luajit.exe"
-#elif
+#else
 	#define LUAJIT "./luajit"
 #endif
 

+ 1 - 0
engine/os/linux/LinuxOS.cpp

@@ -210,6 +210,7 @@ void list_files(const char* path, Vector<DynamicString>& files)
 const char* normalize_path(const char* path)
 {
 	// Stub function
+	return path;
 }
 
 //-----------------------------------------------------------------------------

+ 1 - 1
engine/resource/ResourceLoader.h

@@ -65,7 +65,7 @@ struct LoadResourceData
 };
 
 /// Loads resources in a background thread.
-class ResourceLoader : public os::Thread
+class ResourceLoader : public Thread
 {
 public: