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
This commit is contained in:
parent
9b0118a84c
commit
9e03ee87bf
11
internal.h
11
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user