]> granicus.if.org Git - curl/commit
curlcheck.h: add fail_if() fix code
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jan 2011 22:47:34 +0000 (23:47 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jan 2011 22:47:34 +0000 (23:47 +0100)
commit83e9fb21aabbec27c6ad6ef7f80ec2a6d3f815ff
tree9d1bd1a28fd87d092b58c3b5772e7a141de9b2de
parent5c42b2ceaeef78ca1c249523b7d9b5cd2405df58
curlcheck.h: add fail_if() fix code

The UNITTEST_START and UNITTEST_STOP defines needed to do a new brace
level so that test cases can declare variables fine and still remain
fine C89 code.
tests/unit/curlcheck.h