diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-23 13:40:15 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-23 15:26:29 +0900 |
commit | 70a459986988fecf245cf5eb62e7982e790c8260 (patch) | |
tree | 3b3025402039f605c9e9295fa64561f908eced19 /ext/psych/yaml/yaml_private.h | |
parent | 666c077691a5521cb82254911f0abb9575cac9a1 (diff) | |
download | ruby-70a459986988fecf245cf5eb62e7982e790c8260.tar.gz |
[ruby/psych] Bump libyaml version to 0.2.5
https://github.com/ruby/psych/commit/39996192cc
Diffstat (limited to 'ext/psych/yaml/yaml_private.h')
-rw-r--r-- | ext/psych/yaml/yaml_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/psych/yaml/yaml_private.h b/ext/psych/yaml/yaml_private.h index f4f244cbc8..6c674de147 100644 --- a/ext/psych/yaml/yaml_private.h +++ b/ext/psych/yaml/yaml_private.h @@ -3,7 +3,7 @@ #endif #if HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <yaml.h> @@ -175,14 +175,14 @@ yaml_string_join( * Check the octet at the specified position. */ -#define CHECK_AT(string,octet,offset) \ +#define CHECK_AT(string,octet,offset) \ ((string).pointer[offset] == (yaml_char_t)(octet)) /* * Check the current octet in the buffer. */ -#define CHECK(string,octet) CHECK_AT((string),(octet),0) +#define CHECK(string,octet) (CHECK_AT((string),(octet),0)) /* * Check if the character at the specified position is an alphabetical |