From bfae88650c71b24d49efc900d44b5189441c5b58 Mon Sep 17 00:00:00 2001 From: rkrolib Date: Sat, 7 Feb 2004 10:52:08 +0000 Subject: [PATCH] John added a #pragma to the joystick code for WIN32 users. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@452 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_joystick.c | 1 + 1 file changed, 1 insertion(+) diff --git a/freeglut/freeglut/src/freeglut_joystick.c b/freeglut/freeglut/src/freeglut_joystick.c index a6622be..9348d13 100644 --- a/freeglut/freeglut/src/freeglut_joystick.c +++ b/freeglut/freeglut/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 ) {