Re: [PATCH] Core: reorder #ifdef in .h file to match order in .c file

2016-07-13 Thread Maxim Dounin
Hello! On Wed, Jul 13, 2016 at 10:29:04AM -0700, Piotr Sikora wrote: > Hey Maxim, > > > Current order matches one used in #if in the same .h file, and I > > don't think this order needs to be changed. > > Hmm? Are we looking at the same files? > > http://hg.nginx.org/nginx/file/tip/src/os/unix

Re: [PATCH] Core: reorder #ifdef in .h file to match order in .c file

2016-07-13 Thread Piotr Sikora
Hey Maxim, > Current order matches one used in #if in the same .h file, and I > don't think this order needs to be changed. Hmm? Are we looking at the same files? http://hg.nginx.org/nginx/file/tip/src/os/unix/ngx_setaffinity.h: #if (NGX_HAVE_SCHED_SETAFFINITY) ... #elif (NGX_HAVE_C

Re: [PATCH] Core: reorder #ifdef in .h file to match order in .c file

2016-07-08 Thread Maxim Dounin
Hello! On Mon, Jun 27, 2016 at 07:55:18PM -0700, Piotr Sikora wrote: > # HG changeset patch > # User Piotr Sikora > # Date 1467064811 25200 > # Mon Jun 27 15:00:11 2016 -0700 > # Node ID 11a53446bd90b8927cb93847c98672a8f056d182 > # Parent d452cb27639f714bc43b7f3ede417e3e7f8efdd6 > Core: re

[PATCH] Core: reorder #ifdef in .h file to match order in .c file

2016-06-27 Thread Piotr Sikora
# HG changeset patch # User Piotr Sikora # Date 1467064811 25200 # Mon Jun 27 15:00:11 2016 -0700 # Node ID 11a53446bd90b8927cb93847c98672a8f056d182 # Parent d452cb27639f714bc43b7f3ede417e3e7f8efdd6 Core: reorder #ifdef in .h file to match order in .c file. Signed-off-by: Piotr Sikora dif