1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Allow compilation of testpaint on non-x86 targets (#7989)

This will enable compilation of testpaint on targets different than x86.
It won't function the way it does on x86, but it should provide a way of
tackling various compilation errors that can only be seen in the very
specific environment required by testpaint proper.
This commit is contained in:
Michał Janiszewski
2018-09-15 23:37:45 +02:00
committed by GitHub
parent 47eea292b5
commit 92b556352b
3 changed files with 14 additions and 4 deletions

View File

@@ -451,6 +451,10 @@ static void TestGeneralSupportHeightCall()
int main(int argc, char* argv[])
{
#if !defined(__i386__)
fprintf(stderr, "Testpaint can only be properly executed on x86\n");
return 1;
#else
TestGeneralSupportHeightCall();
std::vector<TestCase> testCases;
@@ -636,4 +640,5 @@ int main(int argc, char* argv[])
}
return 0;
#endif
}