diff options
author | Benoit Daloze <eregontp@gmail.com> | 2021-04-29 15:12:44 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2021-05-04 14:56:55 +0200 |
commit | 0764d323d8908c1682f3ab654c48783438a88a54 (patch) | |
tree | e335e7f8f9c3a4d8a6c14bdce81af07102244ad7 /ext/psych/yaml/yaml_private.h | |
parent | fa7a712d460dc904f8a836bb22b54d457d95ba8e (diff) | |
download | ruby-0764d323d8908c1682f3ab654c48783438a88a54.tar.gz |
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'
Diffstat (limited to 'ext/psych/yaml/yaml_private.h')
-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 6c674de147..266a6bd3a7 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 |