John added a #pragma to the joystick code for WIN32 users.
authorRichard Rauch <rkr@olib.org>
Sat, 7 Feb 2004 10:52:08 +0000 (10:52 +0000)
committerRichard Rauch <rkr@olib.org>
Sat, 7 Feb 2004 10:52:08 +0000 (10:52 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@452 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_joystick.c

index a6622be..9348d13 100644 (file)
@@ -1038,6 +1038,7 @@ static void fghJoystickAddHatElement ( SFG_Joystick *joy, CFDictionaryRef button
 /* Inspired by
    http://msdn.microsoft.com/archive/en-us/dnargame/html/msdn_sidewind3d.asp
  */
+#    pragma comment (lib, "advapi32.lib")
 
 static int fghJoystickGetOEMProductName ( SFG_Joystick* joy, char *buf, int buf_sz )
 {