Skip to content

Commit

Permalink
Make luaexec support lua io.popen
Browse files Browse the repository at this point in the history
  • Loading branch information
jie-meng committed Nov 10, 2017
1 parent 700e0b0 commit b80bbad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ endif()

if (UNIX)
add_definitions(-D_PLATFORM_UNIX_)
add_definitions(-DLUA_USE_POSIX)
target_link_libraries(${APP_NAME} pthread)
elseif (WIN32)
add_definitions(-D_PLATFORM_WINDOWS_)
add_definitions(-DLUA_USE_WINDOWS)
target_link_libraries(${APP_NAME} ws2_32 Shlwapi)
endif()

Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using namespace std;
using namespace util;

const string kVersion = "1.2.2.20171108";
const string kVersion = "1.2.3.20171110";

int main(int argc, char* argv[])
{
Expand Down

0 comments on commit b80bbad

Please sign in to comment.