Bug report
It handles most with a specialized macro:
|
/* Kernel event messages */ |
|
#ifdef PF_SYSTEM |
|
ADD_INT_MACRO(m, PF_SYSTEM); |
|
#endif |
|
#ifdef AF_SYSTEM |
|
ADD_INT_MACRO(m, AF_SYSTEM); |
|
#endif |
but not these ones:
|
/* FreeBSD divert(4) */ |
|
#ifdef PF_DIVERT |
|
PyModule_AddIntMacro(m, PF_DIVERT); |
|
#endif |
|
#ifdef AF_DIVERT |
|
PyModule_AddIntMacro(m, AF_DIVERT); |
|
#endif |
|
|
Introduced in #96536
Linked PRs