diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-21 17:22:27 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-21 17:22:27 +0000 |
commit | 5318e0f6051e8f08945ad683b1e8fb6ffc8b2d95 (patch) | |
tree | e1c0d673869b9b789eed694f451363ba848b40b3 /ext/bigdecimal/bigdecimal.h | |
parent | c50c9f6d3ba1f9b550c68777569f7d3f8898446f (diff) |
* ext/bigdecimal/bigdecimal.[ch]: replace _DEBUG with BIGDECIMAL_DEBUG to prevent activating debugging code when compiled with -DEBUG flag on Windows. [ruby-core:22989] #1308
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.h')
-rw-r--r-- | ext/bigdecimal/bigdecimal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h index c8a1feb30e..dbef10dd4e 100644 --- a/ext/bigdecimal/bigdecimal.h +++ b/ext/bigdecimal/bigdecimal.h @@ -209,10 +209,10 @@ VP_EXPORT Real *VpOne(void); #define VpHasVal(a) (a->frac[0]) #define VpIsOne(a) ((a->Prec==1)&&(a->frac[0]==1)&&(a->exponent==1)) #define VpExponent(a) (a->exponent) -#ifdef _DEBUG +#ifdef BIGDECIMAL_DEBUG int VpVarCheck(Real * v); VP_EXPORT int VPrint(FILE *fp,const char *cntl_chr,Real *a); -#endif /* _DEBUG */ +#endif /* BIGDECIMAL_DEBUG */ #if defined(__cplusplus) } /* extern "C" { */ |