From f0d98ad70d2188197be00f6c1a9b7338473c6485 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 18 Dec 2018 20:10:10 -0500 Subject: 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 --- src/shared/lua_api/load_net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') 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 -- cgit v1.2.3-70-g09d2