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

Compatibility improvements

parent 64cd2d2b
No related branches found
No related tags found
No related merge requests found
/* /*
* SPDX-FileCopyrightText: 2018, 2019 Bruce Cowan <bruce@bcowan.me.uk> * SPDX-FileCopyrightText: 2018-2020 Bruce Cowan <bruce@bcowan.me.uk>
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include "config.h" #include "config.h"
#ifdef HAVE_REALLOCARRAY
#define _GNU_SOURCE
#endif
#include "mem.h" #include "mem.h"
#include <stdlib.h> #include <stdlib.h>
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
project('stdlib', 'c', project('stdlib', 'c',
default_options: ['warning_level=3', 'c_std=gnu99']) default_options: ['warning_level=3', 'c_std=gnu99'],
meson_version: '>=0.50.0')
cc = meson.get_compiler('c') cc = meson.get_compiler('c')
libm = cc.find_library('m') libm = cc.find_library('m')
......
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