#554 Player SVN trunk: portio driver problem with sys/io.h

Player (393)

This patch changes CMakeLists.txt for portio driver which uses inb_p() and outb_p() functions/macros that should be defined in sys/io,h (or their friends from hw/inout.h on QNX); by default, on systems other than QNX this driver will be turned off whenever the sys/io.h header file is not available. Unfortunately, recently I've found Linux distribution for PDA's (Maemo Linux) on which sys/io.h is actually available, however none of inb_p()/outb_p() is defined there. For such a case this driver should be also turned off. To add this check I had to mess bare cmake functions with player-cmake functions, I'm not sure about quality of what I done, at least it works fine on few different operating systems.


  • Toby Collett

    Toby Collett - 2010-05-03

    The changes have been made in SVN trunk.
    Thank you for your contribution.

  • Toby Collett

    Toby Collett - 2010-05-03
    • status: open --> closed-accepted

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks