]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/kmod/cplus_stop.c
xnu-2050.48.11.tar.gz
[apple/xnu.git] / libkern / kmod / cplus_stop.c
index b4ce5236a338f02adb886df697aff78a81a7392b..2b2bdc68843c604eb636d56178e345207087784a 100644 (file)
     The linkline must look like this.
         *.o -lkmodc++ kmod_info.o -lkmod
  */
-#if __i386__ || __ppc__
+
+/* The following preprocessor test must match exactly with the architectures
+ * that define the CONFIG_STATIC_CPPINIT config option.
+ */
+#if __i386__
+
 #include <mach/mach_types.h>
 
 asm(".destructors_used = 0");