diff options
author | Josuah Demangeon <me@josuah.net> | 2022-07-08 12:40:26 +0200 |
---|---|---|
committer | Josuah Demangeon <me@josuah.net> | 2022-07-18 21:51:18 +0200 |
commit | 793b9ade56bbc06d9d03dc0522de4ea0cd656b4f (patch) | |
tree | 7c3baad7fd3e4a87c6072ca665a5318eb12d63fa /libs | |
parent | d25f349f4d7de06da49df90af91a5cbdd0ae3237 (diff) | |
download | yosys-793b9ade56bbc06d9d03dc0522de4ea0cd656b4f.tar.gz yosys-793b9ade56bbc06d9d03dc0522de4ea0cd656b4f.tar.bz2 yosys-793b9ade56bbc06d9d03dc0522de4ea0cd656b4f.zip |
extends the list of platforms without <alloca.h>
This permits to fix a compilation bug on OpenBSD
https://www.gnu.org/software/gnulib/manual/html_node/alloca_002eh.html
> This header file is missing on some platforms:
> FreeBSD 6.0, NetBSD 9.0, OpenBSD 6.7, mingw, MSVC 14.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/fst/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/fst/config.h b/libs/fst/config.h index cd036f16a..a2f0fca82 100644 --- a/libs/fst/config.h +++ b/libs/fst/config.h @@ -21,7 +21,7 @@ #undef HAVE_LIBPTHREAD #undef HAVE_FSEEKO #endif -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) #undef HAVE_ALLOCA_H #endif |