}
CFDataRef cfLoadFile(CFURLRef url){
-#if TARGET_OS_EMBEDDED
+#if TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR
return cfMapFile(url);
#else
return cfReadFile(url);
}
CFDataRef cfLoadFile(int fd, size_t bytes){
-#if TARGET_OS_EMBEDDED
+#if TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR
return cfMapFile(fd, bytes);
#else
return cfReadFile(fd, bytes);