Update CIrrDeviceLinux.cpp (#2731)

Fix compile error under NetBSD
This commit is contained in:
Daniel Ölschlegel 2017-01-09 02:44:04 +01:00 committed by auriamg
parent 4aae66a050
commit be2e86166f

View File

@ -2390,7 +2390,7 @@ bool CIrrDeviceLinux::activateJoysticks(core::array<SJoystickInfo> & joystickInf
returnInfo.Axes = info.axes; returnInfo.Axes = info.axes;
returnInfo.Buttons = info.buttons; returnInfo.Buttons = info.buttons;
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
char name[80]; char name[80];
ioctl( info.fd, JSIOCGNAME(80), name); ioctl( info.fd, JSIOCGNAME(80), name);
returnInfo.Name = name; returnInfo.Name = name;