From 1650ea70309358c80bb5a65dc230ef108eb22d96 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 5 Feb 2020 03:40:24 +0100 Subject: [PATCH] Don't use RPC_WSTR absent from older MinGW headers Fix compilation with MinGW 5.3 after the changes of 948ddc6e0f76fb69ddc17859c29a821290a7969f --- src/msw/ole/uuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/ole/uuid.cpp b/src/msw/ole/uuid.cpp index 6c08eb4540..7cc0c34d0e 100644 --- a/src/msw/ole/uuid.cpp +++ b/src/msw/ole/uuid.cpp @@ -138,7 +138,7 @@ bool Uuid::Set(const wxChar *pc) { // get UUID from string #ifdef _UNICODE - if (UuidFromString(reinterpret_cast(const_cast(pc)), &m_uuid) != RPC_S_OK) + if ( UuidFromString(reinterpret_cast(const_cast(pc)), &m_uuid) != RPC_S_OK ) #else if ( UuidFromString((wxUChar *)pc, &m_uuid) != RPC_S_OK) #endif