mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
don't assume msvc is always compiled in C++ mode
This commit is contained in:
parent
b57f0d95c2
commit
04e6554ad6
@ -75,7 +75,7 @@ static void* win32_display_server_init(void)
|
||||
return NULL;
|
||||
|
||||
#ifdef HAS_TASKBAR_EXT
|
||||
#ifdef _MSC_VER
|
||||
#ifdef __cplusplus
|
||||
/* when compiling in C++ mode, GUIDs are references instead of pointers */
|
||||
hr = CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, IID_ITaskbarList3, (void**)&g_taskbarList);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user