Xcode Fixes

Fix cppdialect=C++11
Fix angle bracket include complaints
This commit is contained in:
Erin Catto 2018-05-31 21:00:15 -07:00
parent ff732af5f6
commit 6da758cdd7
7 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#include <luashim.h>
#include "luashim.h"
static int example_test(lua_State* L)

View File

@ -51,7 +51,7 @@
extern "C" {
#endif
#include <zipconf.h>
#include "zipconf.h"
#include <sys/types.h>
#include <stdio.h>

View File

@ -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);
}
}

View File

@ -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);

View File

@ -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",

View File

@ -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);

View File

@ -8,7 +8,7 @@
#ifdef PREMAKE_COMPRESSION
#include <zip.h>
#include "zip.h"
#ifdef WIN32
#include <direct.h>