mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Merge pull request #40 from parvizp/compile_mac_10.9.2
Builds on Mac 10.9.2 with LLVM 3.5.
This commit is contained in:
		
						commit
						3202ba621c
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		|  | @ -32,7 +32,12 @@ | ||||||
| 
 | 
 | ||||||
| #include <sstream> | #include <sstream> | ||||||
| #include <stdarg.h> | #include <stdarg.h> | ||||||
|  | 
 | ||||||
|  | #if defined(__APPLE__) | ||||||
|  | #include <cmath> | ||||||
|  | #else | ||||||
| #include <math.h> | #include <math.h> | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| YOSYS_NAMESPACE_BEGIN | YOSYS_NAMESPACE_BEGIN | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -33,6 +33,9 @@ | ||||||
| #  include <io.h> | #  include <io.h> | ||||||
| #elif defined(__APPLE__) | #elif defined(__APPLE__) | ||||||
| #  include <mach-o/dyld.h> | #  include <mach-o/dyld.h> | ||||||
|  | #  include <unistd.h> | ||||||
|  | #  include <dirent.h> | ||||||
|  | #  include <sys/stat.h> | ||||||
| #else | #else | ||||||
| #  include <unistd.h> | #  include <unistd.h> | ||||||
| #  include <dirent.h> | #  include <dirent.h> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue