diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2025-04-25 17:38:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-25 16:38:48 +0000 |
commit | 622176513ef7dc41faaa8403b09b799bc5785aee (patch) | |
tree | d795636ce138cd2283570ff7aec3d2c28a7f4470 /Python/sysmodule.c | |
parent | ac5424d6a9f5aa37432cbbf366745f708f44a8ec (diff) | |
download | cpython-622176513ef7dc41faaa8403b09b799bc5785aee.tar.gz cpython-622176513ef7dc41faaa8403b09b799bc5785aee.zip |
gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_debug_enabled (#132959)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 1a7b01bf97f..e650444108e 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -2440,7 +2440,7 @@ static PyObject * sys_is_remote_debug_enabled_impl(PyObject *module) /*[clinic end generated code: output=7ca3d38bdd5935eb input=7335c4a2fe8cf4f3]*/ { -#ifndef Py_REMOTE_DEBUG +#if !defined(Py_REMOTE_DEBUG) || !defined(Py_SUPPORTS_REMOTE_DEBUG) Py_RETURN_FALSE; #else const PyConfig *config = _Py_GetConfig(); |