diff options
author | Alex <null@null.null> | 2015-02-15 08:20:50 +0300 |
---|---|---|
committer | Alex <null@null.null> | 2015-02-15 08:20:50 +0300 |
commit | 25ecbd31dbbd829d8c3b68e3325a45be374784d2 (patch) | |
tree | f59e9b837158e2f4a9dbb3956451b44413fe3b72 /src/lfs.h | |
parent | a86072a7ecbe00922acf4a2ebdb856334fb3e6b9 (diff) | |
download | luafilesystem-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 | ||
25 | extern "C" { | ||
26 | #endif | ||
24 | 27 | ||
25 | int luaopen_lfs (lua_State *L); | 28 | int luaopen_lfs (lua_State *L); |
29 | |||
30 | #ifdef __cplusplus | ||
31 | } | ||
32 | #endif | ||