--- ApplicationDelegate.m.orig	2011-05-11 09:13:03.000000000 -0500
+++ ApplicationDelegate.m	2011-11-08 17:28:51.000000000 -0600
@@ -59,6 +59,7 @@
 		{
 			//NSLog(@"TIGER SWIZZLE");
 			//Tiger only code -- method_types and method_imp are deprecated on Leopard
+#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED < 1050
 			char *temp1;
 			IMP temp2;
 			temp1 = orig_method->method_types;
@@ -68,15 +69,18 @@
 			temp2 = orig_method->method_imp;
 			orig_method->method_imp = alt_method->method_imp;
 			alt_method->method_imp = temp2;
+#endif
 		}
 		else
 		{
+#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
 			//NSLog(@"LEOPARD SWIZZLE");
 			//these obj-c 2.0 runtime msg's work on Leopard only -- see CocoaDev: Swizzle
 			if(class_addMethod(c, orig_sel, method_getImplementation(alt_method), method_getTypeEncoding(alt_method)))
 				class_replaceMethod(c, alt_sel, method_getImplementation(orig_method), method_getTypeEncoding(orig_method));
 			else
 				method_exchangeImplementations(orig_method, alt_method);
+#endif
 		}
 	} else NSLog(@"Could not swizzle nonexistent methods!");
 }
