bpo-38960: DTrace build fix for FreeBSD. (GH-17451)

DTrace build fix for FreeBSD.

- allowing passing an extra flag as it need to define the arch size.
- casting some probe's arguments.
This commit is contained in:
David Carlier 2020-01-28 12:53:32 +00:00 committed by Petr Viktorin
parent 2cca8efe46
commit aabdeb766b
6 changed files with 9 additions and 10 deletions

View file

@ -204,7 +204,7 @@ PySys_Audit(const char *event, const char *argFormat, ...)
/* Dtrace USDT point */
if (dtrace) {
PyDTrace_AUDIT(event, (void *)eventArgs);
PyDTrace_AUDIT((char *)event, (void *)eventArgs);
}
/* Call interpreter hooks */