diff options
author | Benoit Daloze <eregontp@gmail.com> | 2021-04-29 14:31:05 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2021-05-04 14:56:55 +0200 |
commit | 68d6bd0873557c12bec6f8e0f8db622f1499d8a7 (patch) | |
tree | dd50dae6ebbf714d19e3db7272f0d9b6af86223e /eval_intern.h | |
parent | 229cbeba8c928dc6ee5eb21951e00c43a6e5225c (diff) |
Fix trivial -Wundef warnings
* See [Feature #17752]
Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4428
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_intern.h b/eval_intern.h index 3238df1036..475fd4d3cf 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -144,7 +144,7 @@ LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *); #define EC_REPUSH_TAG() (void)(_ec->tag = &_tag) -#if defined __GNUC__ && __GNUC__ == 4 && (__GNUC_MINOR__ >= 6 && __GNUC_MINOR__ <= 8) || __clang__ +#if defined __GNUC__ && __GNUC__ == 4 && (__GNUC_MINOR__ >= 6 && __GNUC_MINOR__ <= 8) || defined __clang__ /* This macro prevents GCC 4.6--4.8 from emitting maybe-uninitialized warnings. * This macro also prevents Clang from dumping core in EC_EXEC_TAG(). * (I confirmed Clang 4.0.1 and 5.0.0.) |