diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-19 18:40:22 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-19 18:40:22 +0200 |
commit | 3202ba621c3a0cd1e59d796bfb6a893dd964c77d (patch) | |
tree | dc5c52dbca537a66d1dd9104a20351cbc2fd7143 /frontends/ast | |
parent | 6c1c1e9a07c66b37f65835ed03370ac062616b7a (diff) | |
parent | de8adb8ec538913b93662198cf12c0f2a3b72630 (diff) | |
download | yosys-3202ba621c3a0cd1e59d796bfb6a893dd964c77d.tar.gz yosys-3202ba621c3a0cd1e59d796bfb6a893dd964c77d.tar.bz2 yosys-3202ba621c3a0cd1e59d796bfb6a893dd964c77d.zip |
Merge pull request #40 from parvizp/compile_mac_10.9.2
Builds on Mac 10.9.2 with LLVM 3.5.
Diffstat (limited to 'frontends/ast')
-rw-r--r-- | frontends/ast/ast.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index 87b073ff3..e41416efc 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -32,7 +32,12 @@ #include <sstream> #include <stdarg.h> + +#if defined(__APPLE__) +#include <cmath> +#else #include <math.h> +#endif YOSYS_NAMESPACE_BEGIN |