adium 5193:75c643e4b128: Maybe I should've used these macros for...

commits at adium.im commits at adium.im
Tue Oct 23 23:33:10 UTC 2012


details:	http://hg.adium.im/adium/rev/75c643e4b128
revision:	5193:75c643e4b128
branch:		(none)
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Wed Oct 24 01:32:27 2012 +0200

Maybe I should've used these macros for our buildbot machine.

diffs (61 lines):

diff -r 724e5a1bc7c8 -r 75c643e4b128 Plugins/Purple Service/adiumPurpleEventloop.m
--- a/Plugins/Purple Service/adiumPurpleEventloop.m	Wed Oct 24 01:11:34 2012 +0200
+++ b/Plugins/Purple Service/adiumPurpleEventloop.m	Wed Oct 24 01:32:27 2012 +0200
@@ -31,7 +31,7 @@
 
 static guint				sourceId = 0;		//The next source key; continuously incrementing
 
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
 
 /*
  * 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_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
 	dispatch_release(src);
 #endif
 	
diff -r 724e5a1bc7c8 -r 75c643e4b128 Source/AILoggerPlugin.m
--- a/Source/AILoggerPlugin.m	Wed Oct 24 01:11:34 2012 +0200
+++ b/Source/AILoggerPlugin.m	Wed Oct 24 01:32:27 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_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
 	dispatch_release(dirtyLogSetMutationQueue);
 	dispatch_release(searchIndexQueue);
 	dispatch_release(activeAppendersMutationQueue);
diff -r 724e5a1bc7c8 -r 75c643e4b128 Source/AdiumApplescriptRunner.m
--- a/Source/AdiumApplescriptRunner.m	Wed Oct 24 01:11:34 2012 +0200
+++ b/Source/AdiumApplescriptRunner.m	Wed Oct 24 01:32:27 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_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
 		xpc_release(argObject);
 #endif
 	}
 	
 	xpc_dictionary_set_value(obj, "arguments", array);
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
 	xpc_release(array);
 #endif
 	
@@ -78,7 +78,7 @@
 		}
 	});
 	
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
 	xpc_release(obj);
 #endif
 }




More information about the commits mailing list