Re: [hatari-devel] MIDI support for Windows & OSX (with PortMidi)

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 09/11/2017 à 00:40, Thorsten Otto a écrit :
On Mittwoch, 8. November 2017 23:16:47 CET Nicolas Pomarède wrote:
  Are you using a specific dev chain / compiler ?
(cross compilation with mingw maybe ? or a version of SDL ?)

No crosscompiler, gcc version 7.2.1 on openSUSE tumbleweed, kernel 4.13.11,
glibc 2.26, SDL 1.2.15


I see that there's a "#ifdef USE_SDL" in sysdeps.h that should force the use of SDL_endian.h, but USE_SDL was never defined so far, maybe your recent gcc 7 triggers a different behaviour in system include files.

In src/cpu/sysdeps.h, can you add near the top of the file a "#define USE_SDL" (for example, add it at line 29) ?

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/