mirror of https://github.com/YosysHQ/yosys.git
define PATH_MAX if not defined by limits.h
This commit is contained in:
parent
11130d581d
commit
59508c99b4
|
@ -64,6 +64,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
#ifndef _YOSYS_
|
#ifndef _YOSYS_
|
||||||
# error It looks like you are trying to build Yosys without the config defines set. \
|
# error It looks like you are trying to build Yosys without the config defines set. \
|
||||||
|
@ -100,6 +101,10 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
# define PATH_MAX 4096
|
||||||
|
#endif
|
||||||
|
|
||||||
#define PRIVATE_NAMESPACE_BEGIN namespace {
|
#define PRIVATE_NAMESPACE_BEGIN namespace {
|
||||||
#define PRIVATE_NAMESPACE_END }
|
#define PRIVATE_NAMESPACE_END }
|
||||||
#define YOSYS_NAMESPACE_BEGIN namespace Yosys {
|
#define YOSYS_NAMESPACE_BEGIN namespace Yosys {
|
||||||
|
|
Loading…
Reference in New Issue