From 8560917a6f230320cea76190aba8bbfe50452d9a Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 24 Nov 2013 22:39:47 +0100 Subject: [PATCH] iwscan: fix also for newer ppc compilers --- lib/libiw/iwscan.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/libiw/iwscan.cpp b/lib/libiw/iwscan.cpp index 87451e5b1..6956b553b 100644 --- a/lib/libiw/iwscan.cpp +++ b/lib/libiw/iwscan.cpp @@ -19,11 +19,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* something is fishy with old compilers: if vector gets included later from - * iwscan.h it blows up in the c++config.h libstdc++ header... */ -#if __GNUC__ == 4 && (__GNUC_MINOR__ < 5 || (__GNUC_MINOR__ == 5 && __GNUC_PATCHLEVEL__ < 3)) +/* something is fishy with ppc compilers: if vector gets included later from + * iwscan.h it blows up in the c++config.h libstdc++ header... + * probably caused by the redefinition of the "inline" keyword in iwlib.h. */ #include -#endif #include extern "C" {