aboutsummaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
Diffstat (limited to 'src/includes')
-rw-r--r--src/includes/rc-misc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h
index 59c3e397..78f0a23b 100644
--- a/src/includes/rc-misc.h
+++ b/src/includes/rc-misc.h
@@ -70,8 +70,10 @@
#ifdef lint
# define _unused
#endif
-#if __GNUC__ > 2 || defined(__INTEL_COMPILER) || defined(__PCC__)
+#if __GNUC__ > 2 || defined(__INTEL_COMPILER)
# define _unused __attribute__((__unused__))
+#else
+# define _unused
#endif
_unused static void *xmalloc (size_t size)