]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/c++/OSRuntimeSupport.c
xnu-344.tar.gz
[apple/xnu.git] / libkern / c++ / OSRuntimeSupport.c
diff --git a/libkern/c++/OSRuntimeSupport.c b/libkern/c++/OSRuntimeSupport.c
new file mode 100644 (file)
index 0000000..77bcc2b
--- /dev/null
@@ -0,0 +1,8 @@
+// These functions have been moved inline but we need to continue
+// exporting the mangled functions for loadable drivers compiled on older
+// systems.
+// Note that I have had to manually mangle the symbols names.
+#if __GNUC__ >= 3
+    void _ZN11OSMetaClassdlEPvm(void *mem, unsigned long size) { }
+#endif
+