mirror of
https://github.com/eclipse/upm.git
synced 2025-07-15 08:11:12 +03:00
Support for swig 4.1.0
In swig 4.1.0, the complicated handling of "SWIG_V8_VERSION" has been cleaned up a bit. I made the same changes as in this swig. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This commit is contained in:
@ -27,7 +27,7 @@ void cleanUp()
|
||||
/* Call the v8 garbage collector as long as there is memory to clean up
|
||||
* See https://codereview.chromium.org/412163003 for this API change
|
||||
*/
|
||||
#if (SWIG_V8_VERSION < 0x032838)
|
||||
#if (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < 0x032838)
|
||||
while (!v8::V8::IdleNotificationDeadline())
|
||||
#else
|
||||
while (!v8::Isolate::GetCurrent()->IdleNotificationDeadline(1000))
|
||||
|
Reference in New Issue
Block a user