diff options
author | Kostas Nakos | 2007-12-02 12:08:45 +0000 |
---|---|---|
committer | Kostas Nakos | 2007-12-02 12:08:45 +0000 |
commit | 1cf6278fb1a93c22197c814981fb2a0f9e9a2d48 (patch) | |
tree | c6a6ed1f33ecdf61b69b348f838ef2d1e132b3b5 | |
parent | c4a4c96db4971d34970c8cae8bd1ac3942ced9b9 (diff) | |
download | scummvm-rg350-1cf6278fb1a93c22197c814981fb2a0f9e9a2d48.tar.gz scummvm-rg350-1cf6278fb1a93c22197c814981fb2a0f9e9a2d48.tar.bz2 scummvm-rg350-1cf6278fb1a93c22197c814981fb2a0f9e9a2d48.zip |
fixes for cygwin build
svn-id: r29700
-rw-r--r-- | backends/plugins/win32/win32-provider.cpp | 4 | ||||
-rw-r--r-- | dists/scummvm.rc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/plugins/win32/win32-provider.cpp b/backends/plugins/win32/win32-provider.cpp index 85402c8cb8..e20256cd82 100644 --- a/backends/plugins/win32/win32-provider.cpp +++ b/backends/plugins/win32/win32-provider.cpp @@ -86,10 +86,10 @@ public: #endif if (!_dlHandle) { - debug("Failed loading plugin '%s' (error code %d)", _filename.c_str(), GetLastError()); + debug("Failed loading plugin '%s' (error code %d)", _filename.c_str(), (int32) GetLastError()); return false; } else { - debug(1, "Success loading plugin '%s', handle %08X", _filename.c_str(), _dlHandle); + debug(1, "Success loading plugin '%s', handle %08X", _filename.c_str(), (uint32) _dlHandle); } return DynamicPlugin::loadPlugin(); diff --git a/dists/scummvm.rc b/dists/scummvm.rc index 9bac6f6a2a..872a6572e9 100644 --- a/dists/scummvm.rc +++ b/dists/scummvm.rc @@ -1,6 +1,6 @@ #include "winresrc.h" -#if defined (__MINGW32__) +#if defined (__MINGW32__) || defined(__CYGWIN32__) IDI_ICON ICON DISCARDABLE "icons/scummvm.ico" #else IDI_ICON ICON DISCARDABLE "../../icons/scummvm.ico" |