~ubuntu-branches/ubuntu/vivid/fceux/vivid

« back to all changes in this revision

Viewing changes to src/drivers/sdl/sdl-joystick.cpp

  • Committer: Package Import Robot
  • Author(s): Joe Nahmias
  • Date: 2014-03-02 19:22:04 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140302192204-9f0aehi5stfnhn7d
Tags: 2.2.2+dfsg0-1
* Imported Upstream version 2.2.2
  + remove patches merged upstream; refresh remaining
  + remove windows compiled help files and non-free Visual C files
* Use C++11 standard static assertion functionality
* fix upstream installation of support files
* New patch 0004-ignore-missing-windows-help-CHM-file.patch
* update d/copyright for new, renamed, deleted files
* d/control: bump std-ver to 3.9.5, no changes needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
/// \file
23
23
/// \brief Handles joystick input using the SDL.
24
24
 
25
 
#include <stdlib.h>
 
25
#include "sdl.h"
 
26
 
 
27
#include <cstdlib>
26
28
#include <unistd.h>
27
29
#include <fcntl.h>
28
 
#include <errno.h>
29
 
 
30
 
#include "sdl.h"
 
30
#include <cerrno>
31
31
 
32
32
#define MAX_JOYSTICKS   32
33
33
static SDL_Joystick *s_Joysticks[MAX_JOYSTICKS] = {NULL};