From a4b002457118502712cd8d3f67de997b2a65f162 Mon Sep 17 00:00:00 2001 From: "J.C. Jones" Date: Sun, 14 Sep 2003 16:00:24 +0000 Subject: [PATCH] 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 --- include/GL/glut.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.7.10.4