-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only compile hsWindows.cpp on Windows
The file was ifdef'ed out on non-Windows platforms, but it sometimes causes linker warnings about the file having no symbols. Better to just avoid compiling/linking it entirely on non-Windows platforms.
- Loading branch information
Showing
2 changed files
with
1 addition
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,6 @@ You can contact Cyan Worlds, Inc. by email [email protected] | |
*==LICENSE==*/ | ||
|
||
#ifdef HS_BUILD_FOR_WIN32 | ||
|
||
#include "HeadSpin.h" | ||
#include "hsWindows.h" | ||
#include <combaseapi.h> | ||
|
@@ -93,5 +91,3 @@ const RTL_OSVERSIONINFOEXW& hsGetWindowsVersion() | |
} | ||
return s_WinVer; | ||
} | ||
|
||
#endif |