mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
Fix building on apple
This commit is contained in:
@@ -196,6 +196,7 @@ systemd_move_pid_into_new_scope(PyObject *self UNUSED, PyObject *args) {
|
|||||||
long pid; const char *scope_name, *description;
|
long pid; const char *scope_name, *description;
|
||||||
if (!PyArg_ParseTuple(args, "lss", &pid, &scope_name, &description)) return NULL;
|
if (!PyArg_ParseTuple(args, "lss", &pid, &scope_name, &description)) return NULL;
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
(void)ensure_initialized_and_useable; (void)move_pid_into_new_scope;
|
||||||
PyErr_SetString(PyExc_NotImplementedError, "not supported on this platform");
|
PyErr_SetString(PyExc_NotImplementedError, "not supported on this platform");
|
||||||
#else
|
#else
|
||||||
if (!ensure_initialized_and_useable()) return NULL;
|
if (!ensure_initialized_and_useable()) return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user