projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11130d5
)
define PATH_MAX if not defined by limits.h
author
Clifford Wolf
<clifford@clifford.at>
Tue, 11 Oct 2016 10:12:09 +0000
(12:12 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 11 Oct 2016 10:12:09 +0000
(12:12 +0200)
kernel/yosys.h
patch
|
blob
|
history
diff --git
a/kernel/yosys.h
b/kernel/yosys.h
index aab6b584454fe57e17cb53a2a67fee73093769c6..ae73146b89bb95d0b2b6ed87b547a8914347bac7 100644
(file)
--- a/
kernel/yosys.h
+++ b/
kernel/yosys.h
@@
-64,6
+64,7
@@
#include <string.h>
#include <stdint.h>
#include <stdio.h>
+#include <limits.h>
#ifndef _YOSYS_
# error It looks like you are trying to build Yosys without the config defines set. \
@@
-100,6
+101,10
@@
# endif
#endif
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
+
#define PRIVATE_NAMESPACE_BEGIN namespace {
#define PRIVATE_NAMESPACE_END }
#define YOSYS_NAMESPACE_BEGIN namespace Yosys {