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>
This commit is contained in:
Tomaz Canabrava 2016-03-06 06:55:24 -08:00 committed by Dirk Hohndel
parent 39313c5b33
commit 997ee6fb40

View file

@ -6,7 +6,9 @@
#include "dive.h" #include "dive.h"
#include "display.h" #include "display.h"
#include <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CoreFoundation.h>
#if !defined(__IPHONE_5_0)
#include <CoreServices/CoreServices.h> #include <CoreServices/CoreServices.h>
#endif
#include <mach-o/dyld.h> #include <mach-o/dyld.h>
#include <sys/syslimits.h> #include <sys/syslimits.h>
#include <stdio.h> #include <stdio.h>