Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)

(cherry picked from commit b8db320bf14e327bcd12279871b914d8635ef122)
This commit is contained in:
Shauren authored and Aokromes committed 2017-05-26 14:49:55 +02:00
1 parent 496bb4b105
commit d8b9d2a9da
17 files changed
+65 -67

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ extern int main(int argc, char** argv)
// Set signal handlers (this must be done before starting io_service threads, because otherwise they would unblock and exit)
boost::asio::signal_set signals(_ioService, SIGINT, SIGTERM);
#if PLATFORM == PLATFORM_WINDOWS
#if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS
signals.add(SIGBREAK);
#endif
signals.async_wait(SignalHandler);