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)
|
static int example_test(lua_State* L)
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <zipconf.h>
|
#include "zipconf.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "luashim.h"
|
#include "luashim.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <lstate.h>
|
#include "lstate.h"
|
||||||
|
|
||||||
static const LuaFunctionTable_t* g_shimTable;
|
static const LuaFunctionTable_t* g_shimTable;
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
#ifndef HEADER_luashim_H
|
#ifndef HEADER_luashim_H
|
||||||
#define HEADER_luashim_H
|
#define HEADER_luashim_H
|
||||||
|
|
||||||
#include <lua.h>
|
#include "lua.h"
|
||||||
#include <lauxlib.h>
|
#include "lauxlib.h"
|
||||||
|
|
||||||
// premake specific helper methods.
|
// premake specific helper methods.
|
||||||
void luaL_register(lua_State *L, const char *libname, const luaL_Reg *l);
|
void luaL_register(lua_State *L, const char *libname, const luaL_Reg *l);
|
||||||
|
@ -1032,7 +1032,7 @@
|
|||||||
xcode.cppLanguageStandards = {
|
xcode.cppLanguageStandards = {
|
||||||
["Default"] = "compiler-default", -- explicit compiler default
|
["Default"] = "compiler-default", -- explicit compiler default
|
||||||
["C++98"] = "c++98",
|
["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++14"] = "c++14",
|
||||||
["C++17"] = "c++1z",
|
["C++17"] = "c++1z",
|
||||||
["gnu++98"] = "gnu++98",
|
["gnu++98"] = "gnu++98",
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "premake.h"
|
#include "premake.h"
|
||||||
#include <lundump.h>
|
#include "lundump.h"
|
||||||
#include <lstate.h>
|
#include "lstate.h"
|
||||||
|
|
||||||
extern int original_luaL_loadfilex(lua_State* L, const char* filename, const char* mode);
|
extern int original_luaL_loadfilex(lua_State* L, const char* filename, const char* mode);
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#ifdef PREMAKE_COMPRESSION
|
#ifdef PREMAKE_COMPRESSION
|
||||||
|
|
||||||
#include <zip.h>
|
#include "zip.h"
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user