]> git.saurik.com Git - apple/copyfile.git/commitdiff
copyfile-42.tar.gz mac-os-x-1053 mac-os-x-1054 mac-os-x-1055 mac-os-x-1056 mac-os-x-1057 mac-os-x-1058 v42
authorApple <opensource@apple.com>
Thu, 3 Jan 2008 22:23:43 +0000 (22:23 +0000)
committerApple <opensource@apple.com>
Thu, 3 Jan 2008 22:23:43 +0000 (22:23 +0000)
copyfile.c

index c7c8207042246a96c00ef1858077bd34b317970b..c64d291e5ba029f4ec0db15b53a63554384608f0 100644 (file)
 #include <libkern/OSByteOrder.h>
 #include <membership.h>
 
+#include <TargetConditionals.h>
+#if !TARGET_OS_EMBEDDED
 #include <quarantine.h>
 
 #define        XATTR_QUARANTINE_NAME qtn_xattr_name
+#else /* TARGET_OS_EMBEDDED */
+#define qtn_file_t void *
+#define QTN_SERIALIZED_DATA_MAX 0
+static void * qtn_file_alloc(void) { return NULL; }
+static int qtn_file_init_with_fd(void *x, int y) { return -1; }
+static void qtn_file_free(void *x) { return; }
+static int qtn_file_apply_to_fd(void *x, int y) { return -1; }
+static char *qtn_error(int x) { return NULL; }
+static int qtn_file_to_data(void *x, char *y, size_t z) { return -1; }
+static void *qtn_file_clone(void *x) { return NULL; }
+#define        XATTR_QUARANTINE_NAME "figgledidiggledy"
+#endif /* TARGET_OS_EMBEDDED */
 
 #include "copyfile.h"