summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-22 11:45:18 +0000
committerRoy Marples <roy@marples.name>2008-02-22 11:45:18 +0000
commit4ccd6ec66f331bdf2232dd886380b94d613ead77 (patch)
treeb93d103af4bea68108aa2f5205802d02e9d288e7 /common.h
parentd030cc06d621afb075e57033d89b8205685e1b04 (diff)
downloaddhcpcd-4ccd6ec66f331bdf2232dd886380b94d613ead77.tar.xz
PCC compiler fixes.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.h b/common.h
index c9f8180b..fa8f9281 100644
--- a/common.h
+++ b/common.h
@@ -33,8 +33,10 @@
#include <stdio.h>
#include <string.h>
-#if __GNUC__ > 2 || defined(__INTEL_COMPILER) || defined(__PCC__)
+#if __GNUC__ > 2 || defined(__INTEL_COMPILER)
# define _unused __attribute__((__unused__))
+#else
+# define _unused
#endif
#define HAVE_STRLCPY