summaryrefslogtreecommitdiff
path: root/plugins/MirLua/Modules/WinAPI/src/stdafx.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-23 22:36:25 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:43 +0100
commitdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (patch)
tree091f564418533267369d993f554e939c7351f4d6 /plugins/MirLua/Modules/WinAPI/src/stdafx.h
parent1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff)
guard headers
Diffstat (limited to 'plugins/MirLua/Modules/WinAPI/src/stdafx.h')
-rw-r--r--plugins/MirLua/Modules/WinAPI/src/stdafx.h4
1 files changed, 3 insertions, 1 deletions
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 <lua.hpp>
@@ -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)