[PATCH] Core: use sysconf(_SC_PAGESIZE) instead of getpagesize()
Piotr Sikora
piotrsikora at google.com
Fri Dec 4 07:08:57 UTC 2015
Hey Ruslan,
> +ngx_feature="sysconf(_SC_PAGESIZE)"
> +ngx_feature_name="NGX_HAVE_SC_PAGESIZE"
> +ngx_feature_run=no
> +ngx_feature_incs=
> +ngx_feature_path=
> +ngx_feature_libs=
> +ngx_feature_test="sysconf(_SC_PAGESIZE)"
> +. auto/feature
This options is required by POSIX and it's not a custom extension
available only on a few operating systems, so it doesn't make sense to
add a feature check for it, IMHO.
Unless you found a (still supported) system that doesn't have it?
Best regards,
Piotr Sikora
More information about the nginx-devel
mailing list