I'm a newbie for c programming. I want to know the usage of macro in nginx.
thanks for explain this to me! On Mon, Sep 29, 2014 at 7:03 AM, Valentin V. Bartenev <vb...@nginx.com> wrote: > On Sunday 28 September 2014 12:00:45 XiaoBing Jiang wrote: >> I grep the '#if 0', find many in code. >> >> why this don't using '#if 0'? I feel using '#if (NGX_THREADS0)' is >> more confused. > > This one is about threads, so it combines #if (NGX_THREADS) and #if 0, > or just a shorter way to write #if (NGX_THREADS && 0). > > For example, you can also find "#if (NGX_DEBUG0)". > > Why actually do you care? That's a dead code anyway. > > wbr, Valentin V. Bartenev > > _______________________________________________ > nginx-devel mailing list > nginx-devel@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-devel _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel