mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Check for utmpx.h instead of __unix__
There is no reliable macro to test for UNIX
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
|
||||
#include "data-types.h"
|
||||
#ifdef __unix__
|
||||
#if __has_include(<utmpx.h>)
|
||||
#include <utmpx.h>
|
||||
|
||||
static PyObject*
|
||||
|
||||
Reference in New Issue
Block a user