about summary refs log tree commit diff
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 9e85c7e5cd..8cee659dfa 100644
--- a/config.h.in
+++ b/config.h.in
@@ -66,7 +66,7 @@
 
 /* Defined to some form of __attribute__ ((...)) if the compiler supports
    a different, more efficient calling convention.  */
-#ifdef USE_REGPARMS
+#if defined USE_REGPARMS && !defined PROF
 # define internal_function __attribute__ ((regparm (3), stdcall))
 #endif