mirror of https://github.com/odrling/Aegisub
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
|
@ -73,8 +73,7 @@
|
||||||
#include "../../contrib/lua51/src/lualib.h"
|
#include "../../contrib/lua51/src/lualib.h"
|
||||||
#include "../../contrib/lua51/src/lauxlib.h"
|
#include "../../contrib/lua51/src/lauxlib.h"
|
||||||
#else
|
#else
|
||||||
#include <lualib.h>
|
#include <lua.hpp>
|
||||||
#include <lauxlib.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
|
@ -63,8 +63,7 @@
|
||||||
#include "../../contrib/lua51/src/lualib.h"
|
#include "../../contrib/lua51/src/lualib.h"
|
||||||
#include "../../contrib/lua51/src/lauxlib.h"
|
#include "../../contrib/lua51/src/lauxlib.h"
|
||||||
#else
|
#else
|
||||||
#include <lualib.h>
|
#include <lua.hpp>
|
||||||
#include <lauxlib.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
|
@ -68,8 +68,7 @@
|
||||||
#include "../../contrib/lua51/src/lualib.h"
|
#include "../../contrib/lua51/src/lualib.h"
|
||||||
#include "../../contrib/lua51/src/lauxlib.h"
|
#include "../../contrib/lua51/src/lauxlib.h"
|
||||||
#else
|
#else
|
||||||
#include <lualib.h>
|
#include <lua.hpp>
|
||||||
#include <lauxlib.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
/// @ingroup scripting
|
/// @ingroup scripting
|
||||||
///
|
///
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#ifdef WITH_AUTO4_LUA
|
#ifdef WITH_AUTO4_LUA
|
||||||
|
|
||||||
#include "auto4_lua.h"
|
#include "auto4_lua.h"
|
||||||
|
|
Loading…
Reference in New Issue