diff -r 1919435bdb0b src/glew.c
--- a/src/glew.c	Sun Oct 01 16:12:18 2017 +0100
+++ b/src/glew.c	Sun Oct 01 16:12:50 2017 +0100
@@ -17837,13 +17837,13 @@
 #if defined(_WIN32) && defined(GLEW_BUILD) && defined(__GNUC__)
 /* GCC requires a DLL entry point even without any standard library included. */
 /* Types extracted from windows.h to avoid polluting the rest of the file. */
-int __stdcall DllMainCRTStartup(void* instance, unsigned reason, void* reserved)
+/*int __stdcall DllMainCRTStartup(void* instance, unsigned reason, void* reserved)
 {
   (void) instance;
   (void) reason;
   (void) reserved;
   return 1;
-}
+}*/
 #endif
 GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
 {
