cmake: Use preprocessor for conditional compilation in Common

CommonExtra is gone!
Still need to fix CommonFake later though.
This commit is contained in:
Florent Castelli committed 2016-10-11 16:55:29 +02:00
1 parent fef8847a58
commit 83aaf30207
8 files changed
+73 -52

No files matched your search

+4
View File
@@ -15,6 +15,8 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#if defined(_M_IX86) || defined(_M_X64)
#ifdef ANDROID
#include <sys/stat.h>
#include <fcntl.h>
@@ -285,3 +287,5 @@ std::string CPUInfo::Summarize()
if (bLongMode) sum += ", 64-bit support";
return sum;
}
#endif // defined(_M_IX86) || defined(_M_X64)