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

« back to all changes in this revision

Viewing changes to src/lib/cothread/ppc.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
#include <stdint.h>
14
14
#include <string.h>
15
15
 
16
 
#define LIBCO_MPROTECT defined(__unix__) && !defined(LIBCO_PPC_ASM)
 
16
#define LIBCO_MPROTECT (defined(__unix__) && !defined(LIBCO_PPC_ASM)) || defined(SDLMAME_MACOSX)
17
17
 
18
18
#if LIBCO_MPROTECT
19
19
        #include <unistd.h>
46
46
/* Whether function calls are indirect through a descriptor,
47
47
or are directly to function */
48
48
#ifndef LIBCO_PPCDESC
 
49
#ifdef SDLMAME_MACOSX
 
50
        #define LIBCO_PPCDESC 0
 
51
#else
49
52
        #if !defined(_CALL_SYSV) && (defined(_CALL_AIX) || defined(_CALL_AIXDESC) || defined(LIBCO_PPC64))
50
53
                #define LIBCO_PPCDESC 1
51
54
        #endif
52
55
#endif
 
56
#endif
53
57
 
54
58
#ifdef LIBCO_PPC_ASM
55
59