mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Make the ENet wrapper define LUA_COMPAT_ALL before including Lua’s headers (see issue #787)
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#define LUA_COMPAT_ALL
|
||||||
#include "lua.h"
|
#include "lua.h"
|
||||||
#include "lualib.h"
|
#include "lualib.h"
|
||||||
#include "lauxlib.h"
|
#include "lauxlib.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user