forked from rosebudai/OpenRCT2-Web
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:
1 parent
47eea292b5
commit
92b556352b
3 files changed
+14
-4
No files matched your search
@@ -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