Revision: 28
Author: landon.j.fuller
Date: Tue Dec 4 08:41:47 2012
Log: Fix compatibility with the latest iOS simulator
http://code.google.com/p/plactorkit/source/detail?r=28
Modified:
/trunk/Source/PLActorObjC.h
/trunk/Source/PLThreadedActorProcess.m
=======================================
--- /trunk/Source/PLActorObjC.h Tue Dec 2 23:27:25 2008
+++ /trunk/Source/PLActorObjC.h Tue Dec 4 08:41:47 2012
@@ -30,25 +30,7 @@
#if TARGET_OS_IPHONE
#import <objc/runtime.h>
+#import <objc/message.h>
#else
#import <objc/objc-runtime.h>
#endif
-
-/**
- * @internal
- * @defgroup functions_objc Objective-C Compatibility Functions
- *
- * Objective-C 2.0 backwards compatibility functions and macros for
- * for Mac OS X 10.4 (and in the future, cocotron)
- */
-
-#if (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5)
-
-/**
- * Fetch the method return type encoding.
- */
-#define method_getReturnType(meth, dest, len) { \
- strncpy(dest, meth->method_types, len); \
-}
-
-#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 */
=======================================
--- /trunk/Source/PLThreadedActorProcess.m Tue Dec 4 08:14:03 2012
+++ /trunk/Source/PLThreadedActorProcess.m Tue Dec 4 08:41:47 2012
@@ -24,8 +24,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
+
#import "ActorKit.h"
-#import <objc/message.h>
+#import "PLActorObjC.h"
/**
* @internal