Menu

#1537 Lib.c does not respect USE_VICE_THREAD

v3.6
closed-fixed
gpz
None
SDL1x
2021-12-30
2021-08-29
No

Hello,
when I was building my VICE port for Windows CE/Mobile I got an error because pthread.h is not found, although its support has been disabled when I launched configure script.
This happens into src/lib.c, because pthread.h is included two time.
There is one inclusion on top of the file, which is wrong and it must be removed.
Then, there is a second inclusion of pthread.h, but this is enabled by an #ifdef USE_VICE_THREAD...#endif, so this is correct.
The fix is very simple, I attached a patch to show the correction.

1 Attachments

Discussion

  • gpz

    gpz - 2021-08-29

    applied in r40599 - thanks!

     
  • gpz

    gpz - 2021-08-29
    • status: open --> closed-fixed
    • assigned_to: gpz
     

Log in to post a comment.