From 2285d9e2b051bc3f429c870f9f4604034318f4eb Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 31 Aug 2008 19:35:20 +0000 Subject: [PATCH] Minor changes to make uiduid work. --- uiduid.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uiduid.mm b/uiduid.mm index f9580f0..dcfbfc3 100644 --- a/uiduid.mm +++ b/uiduid.mm @@ -1,11 +1,11 @@ #import #import -#include +#include int main(int argc, char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - printf("%s\n", [[UIDevice uniqueIdentifier] UTF8String]; + printf("%s\n", [[[UIDevice currentDevice] uniqueIdentifier] UTF8String]); [pool release]; return 0; -- 2.45.2