diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2016-03-06 06:55:24 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-06 11:03:00 -0800 |
commit | 997ee6fb405da2ebc3257d88ba7f19638d2025ea (patch) | |
tree | 78f50603f0136b1e403517920e6dcc83eeac13a8 | |
parent | 39313c5b3340683b9e4475987308dac24491a982 (diff) | |
download | subsurface-997ee6fb405da2ebc3257d88ba7f19638d2025ea.tar.gz |
iOS build: don't include CoreServices on iOS
[Dirk Hohndel: refactored the iOS patches]
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-core/macos.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/macos.c b/subsurface-core/macos.c index aa2be4b3b..fdfcebbde 100644 --- a/subsurface-core/macos.c +++ b/subsurface-core/macos.c @@ -6,7 +6,9 @@ #include "dive.h" #include "display.h" #include <CoreFoundation/CoreFoundation.h> +#if !defined(__IPHONE_5_0) #include <CoreServices/CoreServices.h> +#endif #include <mach-o/dyld.h> #include <sys/syslimits.h> #include <stdio.h> |