-
Committer:
Wim Lewis
-
Date:
2013-03-25 21:44:12 UTC
-
Revision ID:
wiml@omnigroup.com-20130325214412-99oa0z1c1i704hpg
Simplifying platform-specific code in conn.cc.
Instead of #defining missing platform-specific constants to 0 and then checking whether they're 0, simply check whether they're defined. This makes it a little clearer what kinds of tests are happening at compile time vs run time, and avoids some carping from Clang about constant boolean expressions.