aboutsummaryrefslogtreecommitdiff
path: root/src/lfs.h
diff options
context:
space:
mode:
authorAlex <null@null.null>2015-02-15 08:20:50 +0300
committerAlex <null@null.null>2015-02-15 08:20:50 +0300
commit25ecbd31dbbd829d8c3b68e3325a45be374784d2 (patch)
treef59e9b837158e2f4a9dbb3956451b44413fe3b72 /src/lfs.h
parenta86072a7ecbe00922acf4a2ebdb856334fb3e6b9 (diff)
downloadluafilesystem-25ecbd31dbbd829d8c3b68e3325a45be374784d2.tar.gz
luafilesystem-25ecbd31dbbd829d8c3b68e3325a45be374784d2.tar.bz2
luafilesystem-25ecbd31dbbd829d8c3b68e3325a45be374784d2.zip
A few minor things fixed which prevented compilation of LuaFileSystem as C++ code
Diffstat (limited to 'src/lfs.h')
-rw-r--r--src/lfs.h7
1 files changed, 7 insertions, 0 deletions
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 @@
21#define fileno(f) (_fileno(f)) 21#define fileno(f) (_fileno(f))
22#endif 22#endif
23 23
24#ifdef __cplusplus
25extern "C" {
26#endif
24 27
25int luaopen_lfs (lua_State *L); 28int luaopen_lfs (lua_State *L);
29
30#ifdef __cplusplus
31}
32#endif