fix mac build, probably breaks windows build

This commit is contained in:
electronstudio 2021-10-19 18:29:11 +01:00
parent 53853065d5
commit 485300e6b9
5 changed files with 1 additions and 5 deletions

View file

@ -46,7 +46,7 @@ def pre_process_header(filename):
file = open(filename, "r")
filetext = "".join([line for line in file if '#include' not in line])
command = ['gcc', '-CC', '-P', '-undef', '-nostdinc', '-DRL_MATRIX_TYPE',
'-DRL_QUATERNION_TYPE','-DRL_VECTOR4_TYPE','-DRL_VECTOR3_TYPE','-DRL_VECTOR2_TYPE'
'-DRL_QUATERNION_TYPE','-DRL_VECTOR4_TYPE','-DRL_VECTOR3_TYPE','-DRL_VECTOR2_TYPE',
'-DRLAPI=', '-DPHYSACDEF=', '-DRAYGUIDEF=',
'-dDI', '-E', '-']
filetext2 = subprocess.run(command, text=True, input=filetext, stdout=subprocess.PIPE).stdout

View file

@ -1 +0,0 @@
../raylib-c/src/extras/physac.h

View file

@ -1 +0,0 @@
../raylib-c/src/extras/raygui.h

View file

@ -1 +0,0 @@
../raylib-c/src/raylib.h

View file

@ -1 +0,0 @@
../raylib-c/src/rlgl.h