1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

MinGW: Fix windows/gcc warnings

This commit is contained in:
reuk 2020-05-06 17:14:31 +01:00
parent 688581ff39
commit 092bc44413
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
24 changed files with 310 additions and 260 deletions

View file

@ -283,7 +283,7 @@ void sendQuitMessageToIDE (void* server)
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
static HANDLE parentProcessHandle = 0;
static HANDLE parentProcessHandle = nullptr;
static void setParentProcessID (int pid) { parentProcessHandle = OpenProcess (SYNCHRONIZE, FALSE, (DWORD) pid); }
static int getCurrentProcessID() { return (int) GetCurrentProcessId(); }
#endif