summaryrefslogtreecommitdiff
path: root/Objective-C/libobjcl.m
diff options
context:
space:
mode:
Diffstat (limited to 'Objective-C/libobjcl.m')
-rw-r--r--Objective-C/libobjcl.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index f244e50..646dccd 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -25,6 +25,7 @@
#import "Foundation/Foundation.h"
#include <stdarg.h>
+#include <string.h>
#include <sys/mman.h>
#include <objc/objc-api.h>
@@ -68,6 +69,13 @@ static NSMutableSet *lisp_backed_classes = nil;
static int init_count = 0;
+void *
+objcl_memmove (void *dest, void *src, unsigned long length)
+{
+ return memmove (dest, src, length);
+}
+
+
void
objcl_initialise_runtime (void)
{