From 057451129e3c282d58950c12d8391a5516dabffe Mon Sep 17 00:00:00 2001 From: Apple Date: Thu, 3 Jan 2008 22:23:43 +0000 Subject: [PATCH] copyfile-42.tar.gz --- copyfile.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/copyfile.c b/copyfile.c index c7c8207..c64d291 100644 --- a/copyfile.c +++ b/copyfile.c @@ -43,9 +43,23 @@ #include #include +#include +#if !TARGET_OS_EMBEDDED #include #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" -- 2.45.2