From a3e23e09bf07103de0ea7bf0fb9fb89608cc6aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 24 Jan 2009 15:32:01 +0000 Subject: glut: Automatic library linkage only on MSVC. --- include/GL/glut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/GL/glut.h b/include/GL/glut.h index f574f1d..022378f 100644 --- a/include/GL/glut.h +++ b/include/GL/glut.h @@ -25,7 +25,7 @@ extern "C" { /* To disable automatic library usage for GLUT, define GLUT_NO_LIB_PRAGMA in your compile preprocessor options. */ -# if !defined(GLUT_BUILDING_LIB) && !defined(GLUT_NO_LIB_PRAGMA) +# if defined(_MSC_VER) && !defined(GLUT_BUILDING_LIB) && !defined(GLUT_NO_LIB_PRAGMA) # pragma comment (lib, "winmm.lib") /* link with Windows MultiMedia lib */ /* To enable automatic SGI OpenGL for Windows library usage for GLUT, define GLUT_USE_SGI_OPENGL in your compile preprocessor options. */ -- cgit v1.2.1