aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-12-18 20:10:10 -0500
committerAlexander Pickering <alex@cogarr.net>2018-12-18 20:10:10 -0500
commitf0d98ad70d2188197be00f6c1a9b7338473c6485 (patch)
tree79edaea2cf8e5f13f7919b6971c6995c0a3688bc /src/shared/lua_api
parent2009501214f3c2e3f8d8b1a06432afdf39276bd5 (diff)
downloadbrokengine-f0d98ad70d2188197be00f6c1a9b7338473c6485.tar.gz
brokengine-f0d98ad70d2188197be00f6c1a9b7338473c6485.tar.bz2
brokengine-f0d98ad70d2188197be00f6c1a9b7338473c6485.zip
Various fixes to get things working under msys2
Replaced various "make" calls in the makefile with $(MAKE) Replaced a few __mingw_printf with just printf Added some instructions to the readme
Diffstat (limited to 'src/shared/lua_api')
-rw-r--r--src/shared/lua_api/load_net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/lua_api/load_net.cpp b/src/shared/lua_api/load_net.cpp
index 4baf952..677f1d1 100644
--- a/src/shared/lua_api/load_net.cpp
+++ b/src/shared/lua_api/load_net.cpp
@@ -313,7 +313,7 @@ void gameloop_net(lua_State* L){
luaL_getmetatable(L,"net.stream");//func,{data=stream}
lua_setmetatable(L,-2);//func,{stream}
lua_call(L,1,0);//
- __mingw_printf("Finished calling gameloop, buf is %p, size is %zu\n",buf,size);
+ printf("Finished calling gameloop, buf is %p, size is %zu\n",buf,size);
nng_msg_free(msgp);
printf("called nn_freemsg\n");
free(stream);//We manually set stream->data so free_stream would crash here