diff options
author | 卜部昌平 <[email protected]> | 2021-09-09 11:12:33 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2021-09-10 20:00:06 +0900 |
commit | 4f03930d04a0185ee9057ee314cfb79eb5a1b73a (patch) | |
tree | 0f37a6818c48138cd446bfc494dafac97eea1617 /include/ruby | |
parent | 679f4b895b683430c49f0014ac885eb9291d59e9 (diff) |
ruby_cleanup: fix MSVC compile error
See https://ci.appveyor.com/project/ruby/ruby/builds/40686153/job/1wihxw5m5kybtohj
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/internal/interpreter.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ruby/internal/interpreter.h b/include/ruby/internal/interpreter.h index f8dd9bf88d..662d39c0ec 100644 --- a/include/ruby/internal/interpreter.h +++ b/include/ruby/internal/interpreter.h @@ -168,11 +168,7 @@ int ruby_setup(void); * @retval ex Successful cleanup. * @note This function does not raise any exception. */ -int ruby_cleanup( -#if !defined(__cplusplus) || __cplusplus <= 201704L - volatile /* C++20 killed volatile. cf: http://wg21.link/P1152 */ -#endif - int ex); +int ruby_cleanup(int ex); /** * Runs the VM finalization processes. |