From 39e10616fbbb84e4ffbd24d1206dae030c06fa65 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 10 Sep 2016 17:34:15 -0700 Subject: [PATCH] add the usual extern C silliness to pydtrace.h --- Include/pydtrace.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Include/pydtrace.h b/Include/pydtrace.h index 4888606141..140d2e1dd3 100644 --- a/Include/pydtrace.h +++ b/Include/pydtrace.h @@ -2,6 +2,9 @@ #ifndef Py_DTRACE_H #define Py_DTRACE_H +#ifdef __cplusplus +extern "C" { +#endif #ifdef WITH_DTRACE @@ -44,4 +47,7 @@ inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) { return 0; } #endif /* !WITH_DTRACE */ +#ifdef __cplusplus +} +#endif #endif /* !Py_DTRACE_H */ -- 2.49.0