Parcourir la source

glut: Automatic library linkage only on MSVC.

tags/mesa_20090313
José Fonseca il y a 16 ans
Parent
révision
4367778832
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      include/GL/glut.h

+ 1
- 1
include/GL/glut.h Voir le fichier

@@ -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. */

Chargement…
Annuler
Enregistrer