summaryrefslogtreecommitdiff
path: root/method.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-22 12:59:27 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-22 12:59:27 +0000
commitec6f077809d87aa3f529e0fc233297653608a283 (patch)
treeb69c6d4e4c5b56fddebd3c772afc8985f65e2c4a /method.h
parent3d85d6edb5064848fea9a27727eb0a7a6d525417 (diff)
* vm_core.h (enum): avoid syntax error.
* method.h: ditto. * internal.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'method.h')
-rw-r--r--method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/method.h b/method.h
index c89df88bd2..9604722500 100644
--- a/method.h
+++ b/method.h
@@ -14,7 +14,7 @@
#include "internal.h"
#ifndef END_OF_ENUMERATION
-# ifdef __GNUC__
+# if defined(__GNUC__) &&! defined(__STRICT_ANSI__)
# define END_OF_ENUMERATION(key)
# else
# define END_OF_ENUMERATION(key) END_OF_##key##_PLACEHOLDER = 0