GCC also should understand this syntax

This commit is contained in:
Anton Kochkov 2017-12-09 19:28:42 +08:00
parent dfb22aa3a8
commit 22ce0576da

View File

@ -54,11 +54,7 @@ static bool __plugin_open(RIO *io, const char *file, bool many) {
}
// mingw32 toolchain doesnt have this symbol
#ifdef _MSC_VER
static HANDLE (WINAPI *r2_OpenThread)(
#else
static HANDLE WINAPI (*r2_OpenThread)(
#endif
DWORD dwDesiredAccess,
BOOL bInheritHandle,
DWORD dwThreadId