~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/osd/sdl/sdlptty_unix.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#if defined(SDLMAME_FREEBSD) || defined(SDLMAME_DRAGONFLY)
18
18
# include <termios.h>
19
19
# include <libutil.h>
20
 
#elif defined(SDLMAME_NETBSD)
 
20
#elif defined(SDLMAME_NETBSD) || defined(SDLMAME_MACOSX)
21
21
# include <util.h>
22
22
#elif defined(SDLMAME_OPENBSD)
23
23
# include <termios.h>
28
28
 
29
29
#include "sdlfile.h"
30
30
 
 
31
#if defined(SDLMAME_MACOSX)
 
32
const char *sdlfile_ptty_identifier  = "/dev/pty";
 
33
#else
31
34
const char *sdlfile_ptty_identifier  = "/dev/pts";
 
35
#endif
32
36
 
33
37
file_error sdl_open_ptty(const char *path, UINT32 openflags, osd_file **file, UINT64 *filesize)
34
38
{