diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-10-04 14:21:13 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-10-05 13:40:29 +0200 |
commit | 124fbd3fa3464a4fe8cb436666f2cdc09d793162 (patch) | |
tree | b15b6841b77642417dfc68144111b994e963775d /header_checks | |
parent | 01e6f80e579c4f8690d93bef2e6dcfce7f794938 (diff) | |
download | efl-124fbd3fa3464a4fe8cb436666f2cdc09d793162.tar.gz |
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
Diffstat (limited to 'header_checks')
-rw-r--r-- | header_checks/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build index e54e17943c..01e557e95f 100644 --- a/header_checks/meson.build +++ b/header_checks/meson.build @@ -174,4 +174,7 @@ endif if config_h.has('HAVE_KEVENT') config_h.set('HAVE_NOTIFY_KEVENT', '1') -endif
\ No newline at end of file +endif + +config_h.set('SIZEOF_INT', cc.sizeof('int')) +config_h.set('SIZEOF_LONG', cc.sizeof('long')) |