diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 81b61895a5..3ccb48da3d 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -58,7 +58,7 @@ extern void *dinput; typedef REASON_CONTEXT POWER_REQUEST_CONTEXT, *PPOWER_REQUEST_CONTEXT, *LPPOWER_REQUEST_CONTEXT; -WINBASEAPI +extern "C" WINBASEAPI HANDLE WINAPI PowerCreateRequest (