From 25ecbd31dbbd829d8c3b68e3325a45be374784d2 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 15 Feb 2015 08:20:50 +0300 Subject: A few minor things fixed which prevented compilation of LuaFileSystem as C++ code --- src/lfs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lfs.h') diff --git a/src/lfs.h b/src/lfs.h index ddd454d..02ceafb 100644 --- a/src/lfs.h +++ b/src/lfs.h @@ -21,5 +21,12 @@ #define fileno(f) (_fileno(f)) #endif +#ifdef __cplusplus +extern "C" { +#endif int luaopen_lfs (lua_State *L); + +#ifdef __cplusplus +} +#endif -- cgit v1.2.3-55-g6feb