The Battle for Wesnoth  1.19.0-dev
wrapper_lualib.h
Go to the documentation of this file.
1 #if defined(__clang__)
2  #pragma clang diagnostic push
3  #pragma clang diagnostic ignored "-Wold-style-cast"
4 #elif defined(__GNUG__)
5  #pragma GCC diagnostic push
6  #pragma GCC diagnostic ignored "-Wold-style-cast"
7 #endif
8 
9 #if defined(HAVE_SYSTEM_LUA)
10  #include "lualib.h"
11 #else
12  #include "modules/lua/lualib.h"
13 #endif
14 
15 #if defined(__clang__)
16  #pragma clang diagnostic pop
17 #elif defined(__GNUG__)
18  #pragma GCC diagnostic pop
19 #endif