We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c97035b + a5e57a3 commit d0760c2Copy full SHA for d0760c2
1 file changed
src/_vmprof.c
@@ -12,9 +12,11 @@
12
#include "vmprof_common.h"
13
14
15
-#if PY_VERSION_HEX >= 0x030b00f0 /* >= 3.11 */
16
-#include "internal/pycore_frame.h"
17
-#include "populate_frames.h"
+#ifndef RPYTHON_VMPROF
+ #if PY_VERSION_HEX >= 0x030b00f0 /* >= 3.11 */
+ #include "internal/pycore_frame.h"
18
+ #include "populate_frames.h"
19
+ #endif
20
#endif
21
22
static destructor Original_code_dealloc = 0;
0 commit comments