mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Forcefully turn off GPROF in this file if it is enabled as GPROF's
attempt to use a macro for 'ret' doesn't play well with the wrappers trying to implement 'Pascal-style' calling conventions.
This commit is contained in:
parent
ba86e75654
commit
a6e25132d4
1 changed files with 5 additions and 0 deletions
|
|
@ -32,6 +32,11 @@
|
|||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
/* The 'ret' macro doesn't work in this file if GPROF is enabled. */
|
||||
#ifdef GPROF
|
||||
#undef GPROF
|
||||
#endif
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue