From: Richard Rauch Date: Sat, 7 Feb 2004 10:52:08 +0000 (+0000) Subject: John added a #pragma to the joystick code for WIN32 users. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=fe9a8632219da01851e7b0a7b4bcdafa508793c7;p=freeglut John added a #pragma to the joystick code for WIN32 users. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@452 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index a6622be..9348d13 100644 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -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 ) {