Date: Thu, 11 May 2006 19:08:05 -0400
From: Mike Frysinger Subject: [SDL] [patch] remove limits.h hack from linux joystick code there is a small hack in the current linux joystick code to work around broken cross-compilers by including more than one limits.h ... at the very least, this is not arm-specific by any means i'm of the opinion that libsdl should not contain such things ... people should be fixing their cross-compilers, not bloating other's source trees patch attached to clean the cruft -mike --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401782
This commit is contained in:
parent
84a89b45e5
commit
6eed3898de
1 changed files with 0 additions and 3 deletions
|
@ -30,9 +30,6 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <limits.h> /* For the definition of PATH_MAX */
|
#include <limits.h> /* For the definition of PATH_MAX */
|
||||||
#ifdef __arm__
|
|
||||||
#include <linux/limits.h> /* Arm cross-compiler needs this */
|
|
||||||
#endif
|
|
||||||
#include <linux/joystick.h>
|
#include <linux/joystick.h>
|
||||||
#if SDL_INPUT_LINUXEV
|
#if SDL_INPUT_LINUXEV
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue