meson: add sizeof checks for meson
this fixes the building for systems where int and long does not have the same size. Differential Revision: https://phab.enlightenment.org/D7143
This commit is contained in:
parent
01e6f80e57
commit
124fbd3fa3
|
@ -174,4 +174,7 @@ endif
|
||||||
|
|
||||||
if config_h.has('HAVE_KEVENT')
|
if config_h.has('HAVE_KEVENT')
|
||||||
config_h.set('HAVE_NOTIFY_KEVENT', '1')
|
config_h.set('HAVE_NOTIFY_KEVENT', '1')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
config_h.set('SIZEOF_INT', cc.sizeof('int'))
|
||||||
|
config_h.set('SIZEOF_LONG', cc.sizeof('long'))
|
||||||
|
|
Loading…
Reference in New Issue