From: Carlo Bramini Subject: opengl32: it does not compile well in CYGWIN and MINGW Message-Id: <1998322957.9235871440254236461.JavaMail.httpd@webmail-12.iol.local> Date: Sat, 22 Aug 2015 16:37:16 +0200 (CEST) When compiling openg32 under CYGWIN and MINGW, the compiler complains that the public functions have been redeclared without dllimport keyword. This happens because WINGDIAPI from wingdi.h is not correctly declared. This bug can be fixed by adding declaration of _GDI32_ macro in the Makefile. in, as it had been already done for dlls/gdi32 component. Sincerely, Carlo Bramini. diff --git a/dlls/opengl32/Makefile.in b/dlls/opengl32/Makefile.in index 4df6bce..0aa1e91 100644 --- a/dlls/opengl32/Makefile.in +++ b/dlls/opengl32/Makefile.in @@ -1,3 +1,4 @@ +EXTRADEFS = -D_GDI32_ MODULE = opengl32.dll IMPORTLIB = opengl32 IMPORTS = user32 gdi32 advapi32