diff options
-rw-r--r-- | source4/lib/wmi/wmi_wrap.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/lib/wmi/wmi_wrap.c b/source4/lib/wmi/wmi_wrap.c index a4aaf1b5450..07eba3e3fbd 100644 --- a/source4/lib/wmi/wmi_wrap.c +++ b/source4/lib/wmi/wmi_wrap.c @@ -39,13 +39,7 @@ /* attribute recognised by some compilers to avoid 'unused' warnings */ #ifndef SWIGUNUSED -# if defined(__GNUC__) -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -# elif defined(__ICC) +# ifdef HAVE___ATTRIBUTE__ # define SWIGUNUSED __attribute__ ((__unused__)) # else # define SWIGUNUSED |