mirror of https://github.com/YosysHQ/abc.git
Merge pull request #499 from petterreinholdtsen/missing-path-max
Provide replacement value for PATH_MAX on platforms without it.
This commit is contained in:
commit
6d9c88d7e8
|
|
@ -23,6 +23,9 @@
|
|||
#define PATH_MAX MAX_PATH
|
||||
#else
|
||||
#include <limits.h>
|
||||
# ifndef PATH_MAX
|
||||
# define PATH_MAX 4096
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "extra.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue