Skip to content
Snippets Groups Projects
Commit be0d3e69 authored by Christoph Reiter's avatar Christoph Reiter Committed by Matt Turner
Browse files

meson: define SIZEOF_LONG and use -Wundef

meson builds defaulted to SIZEOF_LONG=0 in various places
parent 0ee0ad23
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ add_project_arguments(
'-Wdeclaration-after-statement',
'-fno-strict-aliasing',
'-fvisibility=hidden',
'-Wundef',
]),
language : ['c']
)
......@@ -445,6 +446,8 @@ if host_machine.endian() == 'big'
config.set('WORDS_BIGENDIAN', 1)
endif
config.set('SIZEOF_LONG', cc.sizeof('long'))
# Required to make pixman-private.h
config.set('PACKAGE', 'foo')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment