mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Guard unistd.h with MacOS only macro
Fix compile error on Windows caused by #4877 Weird, I thought I saw this guard during the code review...
This commit is contained in:
		
							parent
							
								
									2f0ea48da4
								
							
						
					
					
						commit
						50ab002072
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -15,7 +15,9 @@ | ||||||
| #include <QtGui> | #include <QtGui> | ||||||
| #include <QtWidgets> | #include <QtWidgets> | ||||||
| #include <fmt/format.h> | #include <fmt/format.h> | ||||||
| #include <unistd.h> | #ifdef __APPLE__ | ||||||
|  | #include <unistd.h> // for chdir
 | ||||||
|  | #endif | ||||||
| #include "citra_qt/aboutdialog.h" | #include "citra_qt/aboutdialog.h" | ||||||
| #include "citra_qt/applets/mii_selector.h" | #include "citra_qt/applets/mii_selector.h" | ||||||
| #include "citra_qt/applets/swkbd.h" | #include "citra_qt/applets/swkbd.h" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue