From: Frederic Marchal Date: Mon, 13 May 2013 08:31:13 +0000 (+0200) Subject: Suppress warning when compiling with mingw X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c3ae3bdebdd2b8dbcef7b348148e80600483f80;p=thirdparty%2Fsarg.git Suppress warning when compiling with mingw Mingw doesn't accept the __attribute__ option. It is removed when compiling with that compiler. --- diff --git a/include/defs.h b/include/defs.h index 6a14051..775f499 100755 --- a/include/defs.h +++ b/include/defs.h @@ -2,6 +2,10 @@ \brief Declaration of the structures and functions. */ +#ifdef __MINGW32__ +#define __attribute__(a) +#endif + struct ReadLogStruct;//forward declaration struct getwordstruct