diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-30 04:54:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-30 04:54:52 +0000 |
commit | 9e03ee87bfa03ffdc889a253aab6fb60172619aa (patch) | |
tree | aae2d7a3749986fc10dd409f1d6524c2d93bbf68 /internal.h | |
parent | 9b0118a84cdc8f78a07343beaedb5ffb44e735dc (diff) |
fix up r57461
* internal.h: Microsoft Visual C++ has never supported C99 yet,
even in 2017.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/internal.h b/internal.h index f57b6f9c81..fada2e8023 100644 --- a/internal.h +++ b/internal.h @@ -29,10 +29,13 @@ extern "C" { #ifndef __bool_true_false_are_defined # ifndef __cplusplus -# error :FIXME: You are the first one who use pre-C99 compiler. -# error :FIXME: Please add appropriate definition here. -# error :FIXME: This part is intentionally left undefined, -# error :FIXME: because the author no longer have such environment. +# undef bool +# undef false +# undef true +# define bool signed char +# define false 0 +# define true 1 +# define __bool_true_false_are_defined 1 # endif #endif |