mirror of https://github.com/YosysHQ/yosys.git
Hotfix for kernel/compatibility.h
This commit is contained in:
parent
0e658dbc02
commit
542afc562f
|
@ -20,10 +20,11 @@
|
||||||
#ifndef COMPATIBILITY_H
|
#ifndef COMPATIBILITY_H
|
||||||
#define COMPATIBILITY_H
|
#define COMPATIBILITY_H
|
||||||
|
|
||||||
#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L)
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L)
|
||||||
|
|
||||||
#define open_memstream compat_open_memstream
|
#define open_memstream compat_open_memstream
|
||||||
#define fmemopen compat_fmemopen
|
#define fmemopen compat_fmemopen
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue