mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Fix building on apple
This commit is contained in:
parent
1e1f99cebc
commit
176dab37d9
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ systemd_move_pid_into_new_scope(PyObject *self UNUSED, PyObject *args) {
|
|||
long pid; const char *scope_name, *description;
|
||||
if (!PyArg_ParseTuple(args, "lss", &pid, &scope_name, &description)) return NULL;
|
||||
#ifdef __APPLE__
|
||||
(void)ensure_initialized_and_useable; (void)move_pid_into_new_scope;
|
||||
PyErr_SetString(PyExc_NotImplementedError, "not supported on this platform");
|
||||
#else
|
||||
if (!ensure_initialized_and_useable()) return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue