summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-01-15 23:09:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:08 -0500
commited0c8e056d5f814f6ccc11c045a085d5698b22e3 (patch)
tree2bef4ae1759fecdbf978291cfdbc0997f5c88fc0
parent4c7b4cd33aff214879b450e532a091941558727d (diff)
downloadsamba-ed0c8e056d5f814f6ccc11c045a085d5698b22e3.tar.gz
samba-ed0c8e056d5f814f6ccc11c045a085d5698b22e3.tar.bz2
samba-ed0c8e056d5f814f6ccc11c045a085d5698b22e3.zip
r12951: Tell the MIPSPro compiler to push DEBUG calls out of line.
(This used to be commit a346059912c05d2b4a27892571d6e89f44907d5c)
-rw-r--r--source3/include/debug.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h
index 99c96e6bb1..b6fb50a9ac 100644
--- a/source3/include/debug.h
+++ b/source3/include/debug.h
@@ -43,6 +43,12 @@ int Debug1( const char *, ... ) PRINTF_ATTRIBUTE(1,2);
BOOL dbgtext( const char *, ... ) PRINTF_ATTRIBUTE(1,2);
BOOL dbghdr( int level, const char *file, const char *func, int line );
+#if defined(sgi) && (_COMPILER_VERSION >= 730)
+#pragma mips_frequency_hint NEVER Debug1
+#pragma mips_frequency_hint NEVER dbgtext
+#pragma mips_frequency_hint NEVER dbghdr
+#endif
+
extern XFILE *dbf;
extern pstring debugf;