From d13180792ce6911bb58ae72b67fe4880176ffea1 Mon Sep 17 00:00:00 2001 From: Lucio Asnaghi Date: Wed, 1 Dec 2021 00:13:55 +0100 Subject: [PATCH] Add ifdefs for LUA_API as well --- VM/include/luaconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VM/include/luaconf.h b/VM/include/luaconf.h index a040186f..a01a1481 100644 --- a/VM/include/luaconf.h +++ b/VM/include/luaconf.h @@ -34,7 +34,10 @@ #endif /* Can be used to reconfigure visibility/exports for public APIs */ +#ifndef LUA_API #define LUA_API extern +#endif + #define LUALIB_API LUA_API /* Can be used to reconfigure visibility for internal APIs */