From: Remi Collet Date: Mon, 12 Dec 2016 12:49:33 +0000 (+0100) Subject: fix build X-Git-Tag: RELEASE_3_1_1_RC1~13 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=b5800afbae98afce2841af18d9dc72d1a6bc357c;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];