Build fixes for WIN64
This commit is contained in:
parent
4343faa10f
commit
18bf7ce155
@ -114,7 +114,10 @@ if(GetOption('win')):
|
|||||||
env.Append(LIBS=['winmm', 'gdi32'])
|
env.Append(LIBS=['winmm', 'gdi32'])
|
||||||
env.Append(CPPDEFINES=["WIN"])
|
env.Append(CPPDEFINES=["WIN"])
|
||||||
env.Append(LINKFLAGS=['-mwindows'])
|
env.Append(LINKFLAGS=['-mwindows'])
|
||||||
if(GetOption('lin'):
|
if(GetOption('_64bit')):
|
||||||
|
env.Append(CPPDEFINES=['__CRT__NO_INLINE'])
|
||||||
|
env.Append(LINKFLAGS=['-Wl,--stack=16777216'])
|
||||||
|
if(GetOption('lin')):
|
||||||
openGLLibs = ['GL']
|
openGLLibs = ['GL']
|
||||||
env.Append(LIBS=['X11', 'rt'])
|
env.Append(LIBS=['X11', 'rt'])
|
||||||
env.Append(CPPDEFINES=["LIN"])
|
env.Append(CPPDEFINES=["LIN"])
|
||||||
|
@ -100,7 +100,7 @@ int update_start(char *data, int len)
|
|||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
if ((int)ShellExecute(NULL, "open", self, NULL, NULL, SW_SHOWNORMAL) <= 32)
|
if ((uintptr_t)ShellExecute(NULL, "open", self, NULL, NULL, SW_SHOWNORMAL) <= 32)
|
||||||
{
|
{
|
||||||
DeleteFile(self);
|
DeleteFile(self);
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Reference in New Issue
Block a user