mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 841451 - Fix build problems in metro/commandexecutehandler [r=jimm]
This commit is contained in:
parent
4247771d4c
commit
ff6809a871
@ -5,6 +5,10 @@
|
||||
|
||||
#include "CEHHelper.h"
|
||||
|
||||
#ifdef SHOW_CONSOLE
|
||||
#include <io.h> // _open_osfhandle
|
||||
#endif
|
||||
|
||||
HANDLE sCon;
|
||||
LPCWSTR metroDX10Available = L"MetroD3DAvailable";
|
||||
|
||||
|
@ -21,7 +21,7 @@ extern LPCWSTR metroDX10Available;
|
||||
void Log(const wchar_t *fmt, ...);
|
||||
|
||||
#if defined(SHOW_CONSOLE)
|
||||
static void SetupConsole();
|
||||
void SetupConsole();
|
||||
#endif
|
||||
|
||||
bool IsDX10Available();
|
||||
|
@ -146,7 +146,7 @@ public:
|
||||
|
||||
#ifdef SHOW_CONSOLE
|
||||
Log(L"SetSelection param count: %d", count);
|
||||
for (int idx = 0; idx < count; idx++) {
|
||||
for (DWORD idx = 0; idx < count; idx++) {
|
||||
IShellItem* item = NULL;
|
||||
if (SUCCEEDED(aArray->GetItemAt(idx, &item))) {
|
||||
LPWSTR str = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user