diff options
author | José Fonseca <[email protected]> | 2009-01-24 15:32:01 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-01-24 15:32:01 +0000 |
commit | 436777883241e9b9c02ad7fce55ec7ff7b89ac3d (patch) | |
tree | 95b6b4d132d4be0392e832c2911a157dbcefcc00 /include/GL/glut.h | |
parent | 017892636a29a40966085d360df8f35865e226d2 (diff) |
glut: Automatic library linkage only on MSVC.
Diffstat (limited to 'include/GL/glut.h')
-rw-r--r-- | include/GL/glut.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h index f574f1d61c7..022378fb9d7 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. */ |