Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add #ifdef guards around UI_GET_SYSNAME (#218)
If the C code is built with a kernel header that does not provide UI_GET_SYSNAME, then ui_get_sysname() will always raise OSError. (Unless incorrect arguments are provided to the function, in which case the function still behaves as it otherwise would.)
- Loading branch information