From abc482e578333f820bba559ce183cb71879e8c72 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Fri, 21 Sep 2012 01:42:03 +0000 Subject: Revert r45018 and r45019: put config.h back in lemon.c and take _U_ back off the compile line when building with cmake. Put _U_'s definition in config.h when building with autofoo and on Windows. svn path=/trunk/; revision=45034 --- config.h.win32 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.h.win32') diff --git a/config.h.win32 b/config.h.win32 index 3c59ad23d2..67d7eeec71 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -236,6 +236,11 @@ #define WIN32 1 #endif +/* Wireshark's marker that a function parameter is unused. Used to avoid + * warnings on compilers that support such hints. + */ +#define _U_ + /* Visual C 9 (2008), Visual C 10 (2010) and Visual C 11 (2012) need these prototypes */ /* XXX: Can we use MSC_VER >= 1500 ?? */ #if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 -- cgit v1.2.3