mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby_cleanup: fix MSVC compile error
See https://ci.appveyor.com/project/ruby/ruby/builds/40686153/job/1wihxw5m5kybtohj
This commit is contained in:
parent
679f4b895b
commit
4f03930d04
Notes:
git
2021-09-10 20:01:04 +09:00
1 changed files with 1 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue