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:29, Thorsten Otto a écrit :

Maybe you can try to add some "#ifndef bswap_32" and "#ifndef bswap_16"
at lines 563/564 before really doing the 2 defines ? (to keep those from
byteswap.h in your case)

I used attached patch, and that fixes it. Hope it does not break anything.

I added some "ifndef" ; in the end, bswap functions are only use in the JIT emulation mode ; as hatari doesn't use JIT for now, it shouldn't cause problems.



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