summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index da58251..f378dcc 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,11 @@ progname = 'alg'
add_project_arguments('-D', '_GNU_SOURCE', language : 'c')
add_project_arguments('-fplan9-extensions', language : 'c')
+add_project_arguments('-D', 'entry_field_size=' + get_option('data-bitness'), language : 'c')
+
+if get_option('data-signed').enabled()
+ add_project_arguments('-D', 'entry_field_signed', language : 'c')
+endif
subdir('src')