diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-28 13:09:43 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-28 13:09:43 +0000 |
commit | a89ee64003373059946493ac8b564d72873b894b (patch) | |
tree | de580919a5b0c54b95ac838e4db580e85dd17bc2 | |
parent | 9b02ccbf31b2a6510269e678ff3d79fab8c0330f (diff) | |
download | mpc-a89ee64003373059946493ac8b564d72873b894b.tar.gz |
reverting to loop "do while(0)"
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@365 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | src/mpc-impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mpc-impl.h b/src/mpc-impl.h index 4adc70f..f19fad9 100644 --- a/src/mpc-impl.h +++ b/src/mpc-impl.h @@ -60,11 +60,11 @@ MA 02111-1307, USA. */ #define SAFE_ABS(type,x) ((x) >= 0 ? (type)(x) : -(type)(x)) #define OUT(x) \ -{ \ +do { \ printf (#x "[%ld,%ld]=", MPC_PREC_RE (x), MPC_PREC_IM (x)); \ mpc_out_str (stdout, 2, 0, x, MPC_RNDNN); \ printf ("\n"); \ -} +} while (0) /* Logging macros */ @@ -104,7 +104,7 @@ MA 02111-1307, USA. */ #endif /* MPC_USE_LOGGING */ - + /* Define internal functions */ #if defined (__cplusplus) |