mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Check for utmpx.h instead of __unix__
There is no reliable macro to test for UNIX
This commit is contained in:
parent
498d3d5906
commit
edac0e8023
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
#include "data-types.h"
|
||||
#ifdef __unix__
|
||||
#if __has_include(<utmpx.h>)
|
||||
#include <utmpx.h>
|
||||
|
||||
static PyObject*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue