diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:21 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:21 +0200 |
commit | 14a4b00c9ef680b78469333291270e4c276f100d (patch) | |
tree | 6479193bac66d70af7f7b8133498b4d61a0fd29b /screen.h | |
parent | 0636e9ecb5a32db4d4520f50a20652faa825feaf (diff) | |
download | screen-14a4b00c9ef680b78469333291270e4c276f100d.tar.gz |
Imported Upstream version 3.7.4upstream/3.7.4
Diffstat (limited to 'screen.h')
-rw-r--r-- | screen.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,9 +64,9 @@ #ifndef NOASSERT # if defined(__STDC__) -# define ASSERT(lousy_cpp) {if (!(lousy_cpp)) {debug2("ASSERT("#lousy_cpp")ion failed file %s line %d\n", __FILE__, __LINE__);abort();}} +# define ASSERT(lousy_cpp) do {if (!(lousy_cpp)) {if (!dfp) opendebug(0, 1);debug2("ASSERT("#lousy_cpp") failed file %s line %d\n", __FILE__, __LINE__);abort();}} while (0) # else -# define ASSERT(lousy_cpp) {if (!(lousy_cpp)) {debug2("ASSERT(lousy_cpp)ion failed file %s line %d\n", __FILE__, __LINE__);abort();}} +# define ASSERT(lousy_cpp) do {if (!(lousy_cpp)) {if (!dfp) opendebug(0, 1);debug2("ASSERT(lousy_cpp) failed file %s line %d\n", __FILE__, __LINE__);abort();}} while (0) # endif #else # define ASSERT(lousy_cpp) {;} |