Xcode Fixes
Fix cppdialect=C++11 Fix angle bracket include complaints
This commit is contained in:
parent
ff732af5f6
commit
6da758cdd7
@ -1,4 +1,4 @@
|
||||
#include <luashim.h>
|
||||
#include "luashim.h"
|
||||
|
||||
|
||||
static int example_test(lua_State* L)
|
||||
|
@ -51,7 +51,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <zipconf.h>
|
||||
#include "zipconf.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#include "luashim.h"
|
||||
#include <assert.h>
|
||||
#include <lstate.h>
|
||||
#include "lstate.h"
|
||||
|
||||
static const LuaFunctionTable_t* g_shimTable;
|
||||
|
||||
@ -858,4 +858,4 @@ void shimInitialize(lua_State* L)
|
||||
assert(g_shimTable != NULL);
|
||||
|
||||
lua_unlock(L);
|
||||
}
|
||||
}
|
||||
|
@ -6,8 +6,8 @@
|
||||
#ifndef HEADER_luashim_H
|
||||
#define HEADER_luashim_H
|
||||
|
||||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include "lua.h"
|
||||
#include "lauxlib.h"
|
||||
|
||||
// premake specific helper methods.
|
||||
void luaL_register(lua_State *L, const char *libname, const luaL_Reg *l);
|
||||
|
@ -1032,7 +1032,7 @@
|
||||
xcode.cppLanguageStandards = {
|
||||
["Default"] = "compiler-default", -- explicit compiler default
|
||||
["C++98"] = "c++98",
|
||||
["C++11"] = "c++0x", -- Xcode project GUI uses c++0x, but c++11 also works
|
||||
["C++11"] = "c++11", -- Xcode project GUI uses c++0x, but c++11 also works
|
||||
["C++14"] = "c++14",
|
||||
["C++17"] = "c++1z",
|
||||
["gnu++98"] = "gnu++98",
|
||||
|
@ -5,8 +5,8 @@
|
||||
*/
|
||||
|
||||
#include "premake.h"
|
||||
#include <lundump.h>
|
||||
#include <lstate.h>
|
||||
#include "lundump.h"
|
||||
#include "lstate.h"
|
||||
|
||||
extern int original_luaL_loadfilex(lua_State* L, const char* filename, const char* mode);
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#ifdef PREMAKE_COMPRESSION
|
||||
|
||||
#include <zip.h>
|
||||
#include "zip.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include <direct.h>
|
||||
|
Reference in New Issue
Block a user