From: Benjamin Peterson Date: Sun, 11 Sep 2016 00:34:15 +0000 (-0700) Subject: add the usual extern C silliness to pydtrace.h X-Git-Tag: v3.6.0b1~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39e10616fbbb84e4ffbd24d1206dae030c06fa65;p=thirdparty%2FPython%2Fcpython.git add the usual extern C silliness to pydtrace.h --- diff --git a/Include/pydtrace.h b/Include/pydtrace.h index 48886061417d..140d2e1dd3a5 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 */