Include lua.hpp rather than the .h versions on non-windows as lua is normally compiled as C, not C++
Originally committed to SVN as r5831.
This commit is contained in:
parent
89541a949f
commit
c04af51c86
4 changed files with 5 additions and 6 deletions
|
@ -73,8 +73,7 @@
|
|||
#include "../../contrib/lua51/src/lualib.h"
|
||||
#include "../../contrib/lua51/src/lauxlib.h"
|
||||
#else
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lua.hpp>
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -63,8 +63,7 @@
|
|||
#include "../../contrib/lua51/src/lualib.h"
|
||||
#include "../../contrib/lua51/src/lauxlib.h"
|
||||
#else
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lua.hpp>
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -68,8 +68,7 @@
|
|||
#include "../../contrib/lua51/src/lualib.h"
|
||||
#include "../../contrib/lua51/src/lauxlib.h"
|
||||
#else
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
#include <lua.hpp>
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
/// @ingroup scripting
|
||||
///
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef WITH_AUTO4_LUA
|
||||
|
||||
#include "auto4_lua.h"
|
||||
|
|
Loading…
Reference in a new issue