diff src/compiler.h @ 2333:ba4677f54a05

[xemacs-hg @ 2004-10-14 17:26:18 by james] More unused parameter fixes.
author james
date Thu, 14 Oct 2004 17:26:25 +0000
parents 04bc9d2f42c7
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/compiler.h	Wed Oct 13 21:52:14 2004 +0000
+++ b/src/compiler.h	Thu Oct 14 17:26:25 2004 +0000
@@ -204,6 +204,16 @@
 #  define ATTRIBUTE_UNUSED
 # endif
 # define UNUSED(decl) UNUSED_ARG (decl) ATTRIBUTE_UNUSED
+# ifdef MULE
+#  define USED_IF_MULE(decl) decl
+# else
+#  define USED_IF_MULE(decl) UNUSED (decl)
+# endif
+# if defined (MULE) || defined (ERROR_CHECK_TEXT)
+#  define USED_IF_MULE_OR_CHECK_TEXT(decl) decl
+# else
+#  define USED_IF_MULE_OR_CHECK_TEXT(decl) UNUSED (decl)
+# endif
 #endif /* UNUSED */
 
 #ifdef DEBUG_XEMACS