(this is possibly going to annoy some people, but..)
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly to allow alternative win32 compilers to be used.
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
#include <windows.h>
|
||||
#include <tlhelp32.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma comment(lib, "version.lib")
|
||||
#endif
|
||||
|
||||
bool GetFileVersion( CString fn, CString &out )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user