adium 5194:93f6f3f4028c: Change < 10_8 to <= 10_7, so the 10.7 S...

commits at adium.im commits at adium.im
Tue Oct 23 23:49:57 UTC 2012


details:	http://hg.adium.im/adium/rev/93f6f3f4028c
revision:	5194:93f6f3f4028c
branch:		(none)
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Wed Oct 24 01:49:41 2012 +0200

Change < 10_8 to <= 10_7, so the 10.7 SDK has the macro too.

diffs (61 lines):

diff -r 75c643e4b128 -r 93f6f3f4028c Plugins/Purple Service/adiumPurpleEventloop.m
--- a/Plugins/Purple Service/adiumPurpleEventloop.m	Wed Oct 24 01:32:27 2012 +0200
+++ b/Plugins/Purple Service/adiumPurpleEventloop.m	Wed Oct 24 01:49:41 2012 +0200
@@ -31,7 +31,7 @@
 
 static guint				sourceId = 0;		//The next source key; continuously incrementing
 
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7
 
 /*
  * glib, unfortunately, identifies all sources and timers via unsigned 32 bit tags. We would like to map them to dispatch_source_t objects.
@@ -98,7 +98,7 @@
 	
     removeSourceForTag(tag);
 
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7
 	dispatch_release(src);
 #endif
 	
diff -r 75c643e4b128 -r 93f6f3f4028c Source/AILoggerPlugin.m
--- a/Source/AILoggerPlugin.m	Wed Oct 24 01:32:27 2012 +0200
+++ b/Source/AILoggerPlugin.m	Wed Oct 24 01:49:41 2012 +0200
@@ -320,7 +320,7 @@
 	dispatch_group_wait(logAppendingGroup, DISPATCH_TIME_FOREVER);
 	dispatch_group_wait(loggerPluginGroup, DISPATCH_TIME_FOREVER);
 
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7
 	dispatch_release(dirtyLogSetMutationQueue);
 	dispatch_release(searchIndexQueue);
 	dispatch_release(activeAppendersMutationQueue);
diff -r 75c643e4b128 -r 93f6f3f4028c Source/AdiumApplescriptRunner.m
--- a/Source/AdiumApplescriptRunner.m	Wed Oct 24 01:32:27 2012 +0200
+++ b/Source/AdiumApplescriptRunner.m	Wed Oct 24 01:49:41 2012 +0200
@@ -60,13 +60,13 @@
 		xpc_object_t argObject = xpc_string_create([argument UTF8String]);
 		
 		xpc_array_set_value(array, XPC_ARRAY_APPEND, argObject);
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7
 		xpc_release(argObject);
 #endif
 	}
 	
 	xpc_dictionary_set_value(obj, "arguments", array);
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7
 	xpc_release(array);
 #endif
 	
@@ -78,7 +78,7 @@
 		}
 	});
 	
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7
 	xpc_release(obj);
 #endif
 }




More information about the commits mailing list