The Battle for Wesnoth  1.17.25+dev
lauxlib.h
Go to the documentation of this file.
1 #pragma once
2 
3 #if defined(__clang__)
4  #pragma clang diagnostic push
5  #pragma clang diagnostic ignored "-Wold-style-cast"
6  #include "modules/lua/lauxlib.h"
7  constexpr int luaL_buffersize = LUAL_BUFFERSIZE;
8  #pragma clang diagnostic pop
9 #elif defined(__GNUG__)
10  #pragma GCC diagnostic push
11  #pragma GCC diagnostic ignored "-Wold-style-cast"
12  #include "modules/lua/lauxlib.h"
13  constexpr int luaL_buffersize = LUAL_BUFFERSIZE;
14  #pragma GCC diagnostic pop
15 #elif defined(_MSC_VER)
16  #include "modules/lua/lauxlib.h"
17  constexpr int luaL_buffersize = LUAL_BUFFERSIZE;
18 #endif