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:
committed by
GitHub
parent
47eea292b5
commit
92b556352b
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user