mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-03-09 20:21:10 +00:00
wscript: check for stdint.h and use it, instead use pstdint.h
This commit is contained in:
parent
dc2ab714f6
commit
012a193685
8
wscript
8
wscript
@ -347,6 +347,14 @@ def configure(conf):
|
||||
else:
|
||||
conf.undefine('HAVE_TGMATH_H')
|
||||
|
||||
# check if we can use C99 stdint
|
||||
if conf.check_cc(header_name='stdint.h', mandatory=False):
|
||||
# use system
|
||||
conf.define('STDINT_H', 'stdint.h')
|
||||
else:
|
||||
# include portable stdint by Paul Hsich
|
||||
conf.define('STDINT_H', 'pstdint.h')
|
||||
|
||||
conf.env.DEDICATED = conf.options.DEDICATED
|
||||
conf.env.SINGLE_BINARY = conf.options.SINGLE_BINARY or conf.env.DEDICATED
|
||||
if conf.env.DEST_OS == 'dos':
|
||||
|
Loading…
x
Reference in New Issue
Block a user