at: bump version
[feed/packages.git] / lang / php7-pecl-http / patches / 100_php_http_etag_bigendian_check.patch
1 --- a/src/php_http_etag.c 2016-12-12 10:04:21.000000000 +0100
2 +++ b/src/php_http_etag.c 2016-12-23 21:10:59.523222367 +0100
3 @@ -60,7 +60,7 @@
4 unsigned char buf[4];
5
6 *((uint *) e->ctx) = ~*((uint *) e->ctx);
7 -#if WORDS_BIGENDIAN
8 +#ifdef WORDS_BIGENDIAN
9 etag = php_http_etag_digest((unsigned char *) e->ctx, 4);
10 #else
11 buf[0] = ((unsigned char *) e->ctx)[3];