}
#endif /* HAVE_FORK */
+#if defined(HAVE_FORK1) || defined(HAVE_FORKPTY) || defined(HAVE_FORK)
// Common code to raise a warning if we detect there is more than one thread
// running in the process. Best effort, silent if unable to count threads.
// Constraint: Quick. Never overcounts. Never leaves an error set.
PyErr_Clear();
}
}
+#endif // HAVE_FORK1 || HAVE_FORKPTY || HAVE_FORK
#ifdef HAVE_FORK1
/*[clinic input]
#endif /* defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV) */
+#ifdef HAVE_DEVICE_MACROS
static PyObject *
major_minor_conv(unsigned int value)
{
return (dev_t)(unsigned int)value == value;
}
-#ifdef HAVE_DEVICE_MACROS
/*[clinic input]
os.major