diff options
| author | Roy Marples <roy@marples.name> | 2008-02-22 11:45:18 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-02-22 11:45:18 +0000 |
| commit | 4ccd6ec66f331bdf2232dd886380b94d613ead77 (patch) | |
| tree | b93d103af4bea68108aa2f5205802d02e9d288e7 /common.h | |
| parent | d030cc06d621afb075e57033d89b8205685e1b04 (diff) | |
| download | dhcpcd-4ccd6ec66f331bdf2232dd886380b94d613ead77.tar.xz | |
PCC compiler fixes.
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
