Fix Windows build.
This commit is contained in:
parent
860a5db5ea
commit
4d42fa0305
@ -60,10 +60,10 @@ elif compiler.cc.behavior == 'msvc':
|
|||||||
compiler.linkflags.append('/SUBSYSTEM:CONSOLE')
|
compiler.linkflags.append('/SUBSYSTEM:CONSOLE')
|
||||||
compiler.cxxflags.remove('/TP')
|
compiler.cxxflags.remove('/TP')
|
||||||
|
|
||||||
|
compiler.defines += ['HAVE_STDINT_H']
|
||||||
if builder.target_platform == 'linux':
|
if builder.target_platform == 'linux':
|
||||||
compiler.defines += [
|
compiler.defines += [
|
||||||
'LINUX',
|
'LINUX',
|
||||||
'HAVE_STDINT_H',
|
|
||||||
'AMX_ANSIONLY',
|
'AMX_ANSIONLY',
|
||||||
'ENABLE_BINRELOC',
|
'ENABLE_BINRELOC',
|
||||||
'_GNU_SOURCE'
|
'_GNU_SOURCE'
|
||||||
@ -71,7 +71,6 @@ if builder.target_platform == 'linux':
|
|||||||
elif builder.target_platform == 'mac':
|
elif builder.target_platform == 'mac':
|
||||||
compiler.defines += [
|
compiler.defines += [
|
||||||
'DARWIN',
|
'DARWIN',
|
||||||
'HAVE_STDINT_H',
|
|
||||||
'AMX_ANSIONLY',
|
'AMX_ANSIONLY',
|
||||||
'ENABLE_BINRELOC',
|
'ENABLE_BINRELOC',
|
||||||
'HAVE_SAFESTR'
|
'HAVE_SAFESTR'
|
||||||
|
Loading…
Reference in New Issue
Block a user