X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..13f56ec4e58bf8687e2a68032c093c0213dd519b:/libkern/zlib/inffast.c diff --git a/libkern/zlib/inffast.c b/libkern/zlib/inffast.c index 82d2795c0..8be51094c 100644 --- a/libkern/zlib/inffast.c +++ b/libkern/zlib/inffast.c @@ -30,6 +30,15 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ + +#if defined __x86_64__ || defined __i386__ || defined _ARM_ARCH_6 + + // dummy definition, for x86_64 or i386 or armv6 or up, compile code from inffastS.s + typedef char DummyDefinition; + +#else // architecture + + #include "zutil.h" #include "inftrees.h" #include "inflate.h" @@ -343,3 +352,5 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */ */ #endif /* !ASMINF */ + +#endif // architecture