diff --git a/src/luajit2/src/lj_cparse.c b/src/luajit2/src/lj_cparse.c
index 523e51462e0f54716ef9bbde2877e5183223b1d0..17edafe38b797968b3f06304eac1060793b90d27 100644
--- a/src/luajit2/src/lj_cparse.c
+++ b/src/luajit2/src/lj_cparse.c
@@ -56,7 +56,7 @@ static LJ_AINLINE int cp_iseol(CPChar c)
   return (c == '\n' || c == '\r');
 }
 
-static LJ_AINLINE CPChar cp_get(CPState *cp);
+//static LJ_AINLINE CPChar cp_get(CPState *cp);
 
 /* Peek next raw character. */
 static LJ_AINLINE CPChar cp_rawpeek(CPState *cp)
diff --git a/src/luajit2/src/luaconf.h b/src/luajit2/src/luaconf.h
index 4a243ffbf22d0d808132bde22866b9d5b09fd392..f2eae3b16dd93e0420fc911cf9f4d85d42110f4f 100644
--- a/src/luajit2/src/luaconf.h
+++ b/src/luajit2/src/luaconf.h
@@ -47,11 +47,7 @@
 #define LUA_INIT	"LUA_INIT"
 
 /* Special file system characters. */
-#if defined(_WIN32)
-#define LUA_DIRSEP	"\\"
-#else
 #define LUA_DIRSEP	"/"
-#endif
 #define LUA_PATHSEP	";"
 #define LUA_PATH_MARK	"?"
 #define LUA_EXECDIR	"!"