aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zlib/patches/unaligned.patch
blob: 4bf7072861f66f2985cf513857ffc2cf65f3c6e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
From aea799e5a84e03900db9eda81e172f4f757f02da Mon Sep 17 00:00:00 2001
From: Антон Самохвалов <pg@yandex-team.ru>
Date: Sun, 21 Sep 2008 09:07:30 +0000
Subject: [PATCH] use optimized algo

git-svn-id: svn+ssh://arcadia.yandex.ru/arc/trunk/arcadia/contrib/libs/zlib@113692 41d65440-b5be-11dd-afe3-b2e846d9b4f8
--- a/zconf.h
+++ b/zconf.h
@@ -183,3 +183,3 @@
 #endif
-#ifdef MSDOS
+#if defined(MSDOS) || defined(_i386_) || defined(_x86_64_)
 #  define UNALIGNED_OK