From dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Fri, 23 Feb 2018 22:36:25 +0100 Subject: guard headers --- plugins/MirLua/Modules/WinAPI/src/stdafx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/MirLua/Modules') diff --git a/plugins/MirLua/Modules/WinAPI/src/stdafx.h b/plugins/MirLua/Modules/WinAPI/src/stdafx.h index 4885e14c2f..0e24189fbe 100644 --- a/plugins/MirLua/Modules/WinAPI/src/stdafx.h +++ b/plugins/MirLua/Modules/WinAPI/src/stdafx.h @@ -44,6 +44,8 @@ * ***/ +#pragma once + #define LUA_WINAPI_LIB extern "C" int __declspec(dllexport) #include @@ -74,4 +76,4 @@ struct luaM_consts #define luaM_PushNumberIf(L, a, b) if (b) lua_pushnumber(L, (intptr_t)a); else lua_pushnil(L); #define luaM_PushStringIf(L, a, b) if (b) lua_pushstring(L, a); else lua_pushnil(L); -#define luaM_CheckPushNumber(L, a) luaM_PushNumberIf(L, a, a) \ No newline at end of file +#define luaM_CheckPushNumber(L, a) luaM_PushNumberIf(L, a, a) -- cgit v1.2.3