aboutsummaryrefslogtreecommitdiffstats
path: root/ext/psych/psych.h
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-30 13:55:02 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-30 13:55:02 +0000
commit9be69a52d7c4afc50ea545242e5a68642edd56ae (patch)
tree5aee813a86772cfdfc3c46c8f90b432b7e5395dd /ext/psych/psych.h
parentca1be3aa301dd76e8407b3630683248740ede7f9 (diff)
downloadruby-9be69a52d7c4afc50ea545242e5a68642edd56ae.tar.gz
Update psych-2.2.1
It fixed segmentation fault related with GC. https://github.com/ruby/psych/pull/296 and removed deprecated code of Ruby 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych/psych.h')
-rw-r--r--ext/psych/psych.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/psych/psych.h b/ext/psych/psych.h
index 1830ca4b19..6b3d63f246 100644
--- a/ext/psych/psych.h
+++ b/ext/psych/psych.h
@@ -2,10 +2,7 @@
#define PSYCH_H
#include <ruby.h>
-
-#ifdef HAVE_RUBY_ENCODING_H
#include <ruby/encoding.h>
-#endif
#include <yaml.h>