Code cleanup: removing config.h and cleaning up platform.h

This commit is contained in:
Ben Vanik
2015-05-02 01:41:39 -07:00
parent 30f7effa73
commit 4d15b2296e
21 changed files with 41 additions and 163 deletions

View File

@@ -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;
}