1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Fix gcc builds failing on windows

This commit is contained in:
Thaddeus Crews
2023-07-20 15:51:04 -05:00
parent f8dbed4d0a
commit d848c95748
2 changed files with 3 additions and 2 deletions

View File

@@ -53,6 +53,7 @@
#if defined(__GNUC__)
// Workaround GCC warning from -Wcast-function-type.
#define wglGetProcAddress (void *)wglGetProcAddress
#define GetProcAddress (void *)GetProcAddress
#endif
typedef HGLRC(APIENTRY *PFNWGLCREATECONTEXTATTRIBSARBPROC)(HDC, HGLRC, const int *);