aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.win32
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-21 01:42:03 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-21 01:42:03 +0000
commitabc482e578333f820bba559ce183cb71879e8c72 (patch)
tree11d08bc5430aee50bb94f35607d0f4d9e084f49c /config.h.win32
parent383467b2b3ab7f5779c399c1af49074b16722b45 (diff)
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
Diffstat (limited to 'config.h.win32')
-rw-r--r--config.h.win325
1 files changed, 5 insertions, 0 deletions
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