Code cleanup: removing config.h and cleaning up platform.h
This commit is contained in:
@@ -29,12 +29,12 @@ int main(std::vector<std::wstring>& args) {
|
||||
}
|
||||
int ret = Catch::Session().run(int(args.size()), narrow_argv);
|
||||
if (ret) {
|
||||
#if XE_LIKE_WIN32
|
||||
#if XE_PLATFORM_WIN32
|
||||
// Visual Studio kills the console on shutdown, so prevent that.
|
||||
if (poly::debugging::IsDebuggerAttached()) {
|
||||
poly::debugging::Break();
|
||||
}
|
||||
#endif // XE_LIKE_WIN32
|
||||
#endif // XE_PLATFORM_WIN32
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user