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