Skip to content

Conversation

@jckarter
Copy link

Some small fixes that allow Tsugaru to build on FreeBSD and Arch Linux. I tried to make these changes in a way that other platforms' support is not disturbed.

  • Use 0 instead of NULL when comparing with integer values, since NULL can be defined as nullptr or (void*)0 on some platforms preventing comparison with integer types.
  • Move from old termio.h interface to termios.h. FreeBSD and Arch no longer have the old termio.h header.
  • Add missing includes

- Use 0 instead of NULL when comparing with integer values.
- Move from old termio.h interface to termios.h.
- Add missing includes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant