Wireshark-bugs: [Wireshark-bugs] [Bug 2493] Wireshark compile errors for cygwin flex (v 2.5.35)
Date: Wed, 23 Apr 2008 23:14:43 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2493


Anders Broman <anders.broman@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anders.broman@xxxxxxxxxxxx




--- Comment #13 from Anders Broman <anders.broman@xxxxxxxxxxxx>  2008-04-23 23:14:42 GMT ---
Could you try this patch please?
+++ c:\Wireshark\config.h.win32 2008-04-24 08:12:05.640625000 +0200
@@ -20,6 +20,11 @@
 #define __STDC__ 0
 #endif

+/*
+ * Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
+ */
+#define YY_NO_UNISTD_H
+
 /* Use Unicode in Windows runtime functions. */
 #define UNICODE 1
 #define _UNICODE 1

Regards
Anders


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.