Add support to embed Capstone 3.x branch into OS X kernel extensions.
diff --git a/Makefile b/Makefile
index 3fa7170..06f8ffa 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,10 @@
 CFLAGS += -DCAPSTONE_USE_SYS_DYN_MEM
 endif
 
+ifeq ($(CAPSTONE_HAS_OSXKERNEL), yes)
+CFLAGS += -DCAPSTONE_HAS_OSXKERNEL
+endif
+
 CFLAGS += $(foreach arch,$(LIBARCHS),-arch $(arch))
 LDFLAGS += $(foreach arch,$(LIBARCHS),-arch $(arch))