]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/zlib/inffast.c
xnu-1699.32.7.tar.gz
[apple/xnu.git] / libkern / zlib / inffast.c
index 82d2795c0d9ebd8f432756ea5e012728bbd13a28..8be51094cc889802a3eeb21e77a6e9ca304ddefb 100644 (file)
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
  * 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"
 #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 /* !ASMINF */
+
+#endif         // architecture