return 0;
}
-#endif
-
-#ifdef __linux__
+#elif defined(__linux__)
static uintptr_t
find_map_start_address(pid_t pid, char* result_filename, const char* map)
{
}
return result;
}
-
+#else
+static uintptr_t
+search_map_for_section(pid_t pid, const char* secname, const char* map)
+{
+ return 0;
+}
#endif
static uintptr_t
_Py_DebugOffsets* debug_offsets
) {
*runtime_start_address = get_py_runtime(pid);
- assert(runtime_start_address != NULL);
if ((void*)*runtime_start_address == NULL) {
if (!PyErr_Occurred()) {
PyErr_SetString(