Fix missing header for macos
This commit is contained in:
+4
-1
@@ -47,7 +47,10 @@ if [[ "$OSTYPE" == "msys"* || "$OSTYPE" == "mingw"* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rundir=".run"
|
rundir=".run"
|
||||||
if [ "$option_portable" == on ]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
bindir="$rundir"
|
||||||
|
datadir="$rundir"
|
||||||
|
elif [ "$option_portable" == on ]; then
|
||||||
bindir="$rundir"
|
bindir="$rundir"
|
||||||
datadir="$rundir/data"
|
datadir="$rundir/data"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
#include "lua.h"
|
||||||
|
|
||||||
void set_macos_bundle_resources(lua_State *L)
|
void set_macos_bundle_resources(lua_State *L)
|
||||||
{ @autoreleasepool
|
{ @autoreleasepool
|
||||||
|
|||||||
Reference in New Issue
Block a user