diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-10 18:34:19 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-10 18:34:19 +0200 |
commit | 54bf3a95dd859ac1811a5265ad45f9eb596de3db (patch) | |
tree | ca4ef75f8ad7610b389103c8028ffba2d8f9f8bb /libs | |
parent | 2c683102be85b0ee9c03c85ddcf5d7fd0f004ab7 (diff) | |
download | yosys-54bf3a95dd859ac1811a5265ad45f9eb596de3db.tar.gz yosys-54bf3a95dd859ac1811a5265ad45f9eb596de3db.tar.bz2 yosys-54bf3a95dd859ac1811a5265ad45f9eb596de3db.zip |
More Win32 build fixes
Diffstat (limited to 'libs')
-rw-r--r-- | libs/subcircuit/subcircuit.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/subcircuit/subcircuit.cc b/libs/subcircuit/subcircuit.cc index 84f23d636..cf14df0ac 100644 --- a/libs/subcircuit/subcircuit.cc +++ b/libs/subcircuit/subcircuit.cc @@ -34,6 +34,7 @@ using namespace SubCircuit; +#ifndef _YOSYS_ static std::string my_stringf(const char *fmt, ...) { std::string string; @@ -52,6 +53,9 @@ static std::string my_stringf(const char *fmt, ...) return string; } +#else +# define my_stringf YOSYS_NAMESPACE_PREFIX stringf +#endif SubCircuit::Graph::Graph(const Graph &other, const std::vector<std::string> &otherNodes) { |