X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..e2d2fc5c71f7d145cba7267989251af45e3bb5ba:/libkern/kmod/cplus_start.c diff --git a/libkern/kmod/cplus_start.c b/libkern/kmod/cplus_start.c index 8ae7a0193..1a2f3b9a0 100644 --- a/libkern/kmod/cplus_start.c +++ b/libkern/kmod/cplus_start.c @@ -42,7 +42,12 @@ 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 #include