<i>TIP #491 implementation has odd #ifdef usage</i> status still Closed with 5 other changes
by
.
D 2018-05-21T10:08:50.950
J closedate 2458259.92281192
J closer dkf
J icomment I\swas\sapproving\sthe:\r\n<pre>\r\n#ifndef\sTCL_THREADS\r\n#\s\s\sdefine\sTCL_THREADS\s1\r\n#endif\r\n</pre>\r\nIt\swas\sthe\sfact\sthat\s<strong>after</strong>\sthat,\swe\scan\sjust\suse:\r\n<pre>\r\n#if\sTCL_THREADS\r\n</pre>\r\nsince\swe\scan\sknow\sthat\sTCL_THREADS\sis\sdefinitely\sdefined.\sIf\sit\swasn't,\sthe\sifndef/define\spair\swould\shave\sset\sit\sto\s1.\sIn\sother\swords,\severything\sthat\sincludes\stcl.h\swill\sdefine\sTCL_THREADS\sso\s<code>!defined(TCL_THREADS)</code>\sis\sa\sconstant\s(zero),\sand\swe\sassume\sthat\sit\sis\sboolean\s(which\sI\salso\sapprove\sof).\r\n<p>\r\nBasically,\s<code>#if\s!defined(TCL_THREADS)\s||\sTCL_THREADS</code>\scan\snow\sbecome\sjust\s<code>#if\sTCL_THREADS</code>\swith\sno\sill-effects\sthat\sI\scan\sthink\sof.
J login dkf
J mimetype text/html
K eeddb0693a950be980a66de3811630a00c7bab54
U dkf
Z 6f1343cab515d65e0cecbe552f63e8fe