Menu

#17 portability: _setmode

closed
nobody
None
2019-10-30
2017-10-04
No

fig2dev uses _setmode if it exists, and basically uses its existence as check if it's running on Windows/DOS. However, NetBSD also provides _setmode and then compilation breaks horribly.
Please improve the check; perhaps checking for the existence of io.h instead.

Discussion

  • tkl

    tkl - 2017-10-04

    Thanks for pointing out the issue. Since I do not compile on NetBSD, your observations are very valuable. This issue will be fixed in the next release.

     
  • tkl

    tkl - 2017-12-29
    • status: open --> pending
     
  • tkl

    tkl - 2018-04-13
    • status: pending --> closed
     

Log in to post a comment.