diff options
author | Parviz Palangpour <parviz@nanowattdesign.com> | 2014-10-18 14:26:49 -0500 |
---|---|---|
committer | Parviz Palangpour <parviz@nanowattdesign.com> | 2014-10-19 11:14:43 -0500 |
commit | de8adb8ec538913b93662198cf12c0f2a3b72630 (patch) | |
tree | 81692aea726b6084694b39222bf580ac37b7bf1c /frontends/ast | |
parent | 84ffe04075bbddfd1b288295c07d036416923c3a (diff) | |
download | yosys-de8adb8ec538913b93662198cf12c0f2a3b72630.tar.gz yosys-de8adb8ec538913b93662198cf12c0f2a3b72630.tar.bz2 yosys-de8adb8ec538913b93662198cf12c0f2a3b72630.zip |
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 |