summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-06-12 20:35:59 +0000
committerjhb <jhb@FreeBSD.org>2006-06-12 20:35:59 +0000
commit4210f02589371b549f7a44c2549ea6fa1dc2ec1e (patch)
treed4ce5f589f6a17e2d34d7525830a441b279f7690 /sys/compat
parent5778b108014576d16b02038d8b0bff762ed05c06 (diff)
downloadFreeBSD-src-4210f02589371b549f7a44c2549ea6fa1dc2ec1e.zip
FreeBSD-src-4210f02589371b549f7a44c2549ea6fa1dc2ec1e.tar.gz
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.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/ndis/winx32_wrap.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/ndis/winx32_wrap.S b/sys/compat/ndis/winx32_wrap.S
index 9a6b3cd..065d409 100644
--- a/sys/compat/ndis/winx32_wrap.S
+++ b/sys/compat/ndis/winx32_wrap.S
@@ -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>
/*
OpenPOWER on IntegriCloud