X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=inline;f=src%2Fphp_http_etag.c;h=ceb82e334f74489df046b591fcd1d425dcce5375;hb=d9ba7726f77858e626d67d758a87c9caa6f38d2b;hp=c1e29c3f4c08b62e4842aaf861335b253ee95d6d;hpb=635a882456da2800b93bac83bbbd33404ffd0798;p=m6w6%2Fext-http 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];