mirror of https://github.com/pbatard/rufus.git
Fix compile error on MinGW.
I'm not sure this is actually the correct thing to do. Why is there an extra const?
This commit is contained in:
parent
7712ad6e0f
commit
71b8d01f4f
|
@ -3208,7 +3208,12 @@ FARPROC WINAPI dllDelayLoadHook(unsigned dliNotify, PDelayLoadInfo pdli)
|
|||
|
||||
return NULL;
|
||||
}
|
||||
const PfnDliHook __pfnDliNotifyHook2 = dllDelayLoadHook;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// For some reason the Windows SDK headers have a `const` while MinGW does not.
|
||||
const
|
||||
#endif
|
||||
PfnDliHook __pfnDliNotifyHook2 = dllDelayLoadHook;
|
||||
|
||||
/*
|
||||
* Application Entrypoint
|
||||
|
|
Loading…
Reference in New Issue