aboutsummaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-22 11:44:10 +0000
committerRoy Marples <roy@marples.name>2008-02-22 11:44:10 +0000
commita9fcbf3e30952809381a62143248517c0f0c2c6d (patch)
treeebe8362c817a6255c2f33ccfdc0f20a3e6663f4e /src/includes
parent5bb09b65871362f60b7facd6193638caeba31a49 (diff)
More PCC fixes.
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)