diff options
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index c8bc46b6..aab6b584 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -51,6 +51,7 @@ #include <initializer_list> #include <stdexcept> #include <memory> +#include <cmath> #include <sstream> #include <fstream> @@ -91,9 +92,9 @@ # define mkdir _mkdir # define popen _popen # define pclose _pclose -# define PATH_MAX MAX_PATH # ifndef __MINGW32__ +# define PATH_MAX MAX_PATH # define isatty _isatty # define fileno _fileno # endif @@ -279,6 +280,7 @@ RTLIL::Design *yosys_get_design(); std::string proc_self_dirname(); std::string proc_share_dirname(); const char *create_prompt(RTLIL::Design *design, int recursion_counter); +std::vector<std::string> glob_filename(const std::string &filename_pattern); void rewrite_filename(std::string &filename); void run_pass(std::string command, RTLIL::Design *design = nullptr); |