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:
Thomas Goyne 2011-11-08 01:18:16 +00:00
parent 89541a949f
commit c04af51c86
4 changed files with 5 additions and 6 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -34,6 +34,8 @@
/// @ingroup scripting
///
#include "config.h"
#ifdef WITH_AUTO4_LUA
#include "auto4_lua.h"