diff options
author | Eric Cosatto <cosatto@nec-labs.com> | 2016-06-01 16:52:07 -0400 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2016-06-01 17:52:07 -0300 |
commit | 6e0dc7b27ce6e8a56d646071b69d7e46c85dd245 (patch) | |
tree | ab3b2d73d27588810c3c6f232405fa28796eb344 /src/lfs.c | |
parent | 1937ba848b275408e837fb49dc8a83eca6a031fe (diff) | |
download | luafilesystem-6e0dc7b27ce6e8a56d646071b69d7e46c85dd245.tar.gz luafilesystem-6e0dc7b27ce6e8a56d646071b69d7e46c85dd245.tar.bz2 luafilesystem-6e0dc7b27ce6e8a56d646071b69d7e46c85dd245.zip |
Fix export of luaopen_lfs on Windows (#74)
* Make lfs export luaopen_lfs under Windows
Diffstat (limited to 'src/lfs.c')
-rw-r--r-- | src/lfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -887,7 +887,7 @@ static const struct luaL_Reg fslib[] = { | |||
887 | {NULL, NULL}, | 887 | {NULL, NULL}, |
888 | }; | 888 | }; |
889 | 889 | ||
890 | int luaopen_lfs (lua_State *L) { | 890 | LFS_EXPORT int luaopen_lfs (lua_State *L) { |
891 | dir_create_meta (L); | 891 | dir_create_meta (L); |
892 | lock_create_meta (L); | 892 | lock_create_meta (L); |
893 | luaL_newlib (L, fslib); | 893 | luaL_newlib (L, fslib); |