diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-06 08:44:07 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-06 08:44:07 +0000 |
commit | 957ec6fcc81d603216ace1e2366bb841efbf959e (patch) | |
tree | 731abfa41803e10b667231de3e33e694723bfa1b /ext/syck/syck.h | |
parent | 1f6a7c18f59a0547bd11a9b355376d2d6fd6e406 (diff) | |
download | ruby-957ec6fcc81d603216ace1e2366bb841efbf959e.tar.gz |
* ext/syck/rubyext.c (mktime_do): remove unused variable offset.
* ext/syck/syck.h: use #ifdef instead of #if DEBUG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/syck.h')
-rw-r--r-- | ext/syck/syck.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/syck.h b/ext/syck/syck.h index 7fd97f1b0a..8885b000de 100644 --- a/ext/syck/syck.h +++ b/ext/syck/syck.h @@ -30,7 +30,7 @@ extern "C" { #include <alloca.h> #endif -#if DEBUG +#ifdef DEBUG void syck_assert( const char *, unsigned, const char * ); # define ASSERT(f) \ (( f ) ? (void)0 : syck_assert( __FILE__, __LINE__, #f )) |