C++: rename SLINT_FEATURE_STD in SLINT_FEATURE_FREESTANDING with the opposite meaning

This commit is contained in:
Olivier Goffart 2023-08-21 16:52:30 +02:00 committed by GitHub
parent cc006e8baf
commit 146ed520e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 33 additions and 30 deletions

View file

@ -72,7 +72,7 @@ struct TestPlatform : slint::platform::Platform
cv.notify_all();
}
#ifndef SLINT_FEATURE_STD
#ifdef SLINT_FEATURE_FREESTANDING
virtual std::chrono::milliseconds duration_since_start() const override
{
return std::chrono::duration_cast<std::chrono::milliseconds>(