aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h
index 742017ebaf..dc1df7545a 100644
--- a/include/ruby/defines.h
+++ b/include/ruby/defines.h
@@ -160,7 +160,7 @@ RUBY_SYMBOL_EXPORT_BEGIN
#define xfree ruby_xfree
#if GCC_VERSION_SINCE(4,3,0)
-# deine RUBY_ATTR_ALLOC_SIZE(params) __attribute__ ((__alloc_size__ params))
+# define RUBY_ATTR_ALLOC_SIZE(params) __attribute__ ((alloc_size params))
#else
# define RUBY_ATTR_ALLOC_SIZE(params)
#endif