Skip to content
Snippets Groups Projects
Commit 64e04ab0 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

A couple of minor build system fixes

parent d4b7fce3
No related merge requests found
...@@ -14,10 +14,7 @@ thread_dep = dependency('threads', required: false) ...@@ -14,10 +14,7 @@ thread_dep = dependency('threads', required: false)
conf_data = configuration_data() conf_data = configuration_data()
cc = meson.get_compiler('c') if cc.has_function('reallocarray', prefix: '#define _GNU_SOURCE\n#include <stdlib.h>')
has_reallocarray = cc.has_function('reallocarray')
if cc.has_function('reallocarray')
conf_data.set('HAVE_REALLOCARRAY', 1) conf_data.set('HAVE_REALLOCARRAY', 1)
endif endif
......
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