diff options
author | Benoit Daloze <eregontp@gmail.com> | 2021-04-29 15:12:44 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-10 19:14:54 +0900 |
commit | 2116a0f17cc078bf8e99e955378e5aded421728b (patch) | |
tree | 7c0014a7b1522d1d3983f66cc0310baaf6f213ac | |
parent | e6ad12b4e15dd11232d591b9faedcc9ca2b50af6 (diff) | |
download | psych-2116a0f17cc078bf8e99e955378e5aded421728b.zip |
Fix -Wundef warnings for patterns `#if HAVE`
* See [Feature #17752]
* Using this to detect them:
git grep -P 'if\s+HAVE' | grep -Pv 'HAVE_LONG_LONG|/ChangeLog|HAVE_TYPEOF'
-rw-r--r-- | ext/psych/yaml/yaml_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/yaml/yaml_private.h b/ext/psych/yaml/yaml_private.h index 6c674de..266a6bd 100644 --- a/ext/psych/yaml/yaml_private.h +++ b/ext/psych/yaml/yaml_private.h @@ -2,7 +2,7 @@ #include RUBY_EXTCONF_H #endif -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H #include "config.h" #endif |