Builds on Mac 10.9.2 with LLVM 3.5.

This commit is contained in:
Parviz Palangpour 2014-10-18 14:26:49 -05:00
parent 84ffe04075
commit de8adb8ec5
2 changed files with 8 additions and 0 deletions

View File

@ -32,7 +32,12 @@
#include <sstream>
#include <stdarg.h>
#if defined(__APPLE__)
#include <cmath>
#else
#include <math.h>
#endif
YOSYS_NAMESPACE_BEGIN

View File

@ -33,6 +33,9 @@
# include <io.h>
#elif defined(__APPLE__)
# include <mach-o/dyld.h>
# include <unistd.h>
# include <dirent.h>
# include <sys/stat.h>
#else
# include <unistd.h>
# include <dirent.h>