#include <TargetConditionals.h>
+#if !TARGET_OS_IPHONE
+
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
{
disk_image_t *di = disk_image_create(QUOTA_DMG,
&(disk_image_opts_t) {
-#if TARGET_OS_EMBEDDED
+#if (TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
.mount_point = QUOTA_DMG_MOUNT_POINT,
#endif
.size = 64 * 1024 * 1024,
return 0;
}
+#endif // !TARGET_OS_EMBEDDED