commit | 39e10616fbbb84e4ffbd24d1206dae030c06fa65 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Sep 10 17:34:15 2016 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Sep 10 17:34:15 2016 -0700 |
tree | 46f001ed83a0b512f35470e3d478dfbf0ab197dd | |
parent | 699e2c91f61bdacec177a050f930e7dbd7cdb371 [diff] |
add the usual extern C silliness to pydtrace.h
diff --git a/Include/pydtrace.h b/Include/pydtrace.h index 4888606..140d2e1 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 @@ #endif /* !WITH_DTRACE */ +#ifdef __cplusplus +} +#endif #endif /* !Py_DTRACE_H */