From: J.C. Jones Date: Sun, 14 Sep 2003 16:00:24 +0000 (+0000) Subject: Resolve bug 806008 -- let Microsoft's compiler know to use Windows libraries even... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=a4b002457118502712cd8d3f67de997b2a65f162;p=freeglut Resolve bug 806008 -- let Microsoft's compiler know to use Windows libraries even if not using our project files. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@192 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/include/GL/glut.h b/include/GL/glut.h index cd67d6a..d05d597 100644 --- a/include/GL/glut.h +++ b/include/GL/glut.h @@ -60,9 +60,12 @@ #endif #pragma comment (lib, "winmm.lib") /* link with Windows MultiMedia lib */ +#pragma comment (lib, "user32.lib") /* link with Windows user lib */ +#pragma comment (lib, "gdi32.lib") /* link with Windows GDI lib */ #pragma comment (lib, "opengl32.lib") /* link with Microsoft OpenGL lib */ #pragma comment (lib, "glu32.lib") /* link with OpenGL Utility lib */ + #else # define FGAPI # define FGAPIENTRY