From: Remi Collet Date: Mon, 12 Dec 2016 12:49:33 +0000 (+0100) Subject: fix build X-Git-Tag: RELEASE_3_2_0_RC1~66 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d9ba7726f77858e626d67d758a87c9caa6f38d2b;p=m6w6%2Fext-http fix build --- diff --git a/src/php_http_etag.c b/src/php_http_etag.c index c1e29c3..ceb82e3 100644 --- a/src/php_http_etag.c +++ b/src/php_http_etag.c @@ -60,7 +60,7 @@ char *php_http_etag_finish(php_http_etag_t *e) unsigned char buf[4]; *((uint *) e->ctx) = ~*((uint *) e->ctx); -#if WORDS_BIGENDIAN +#ifdef WORDS_BIGENDIAN etag = php_http_etag_digest((unsigned char *) e->ctx, 4); #else buf[0] = ((unsigned char *) e->ctx)[3];