ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 3162] Windows build with VC6: 2 compile errors

Date: Tue, 30 Dec 2008 12:07:33 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3162


Gerald Combs <gerald@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerald@xxxxxxxxxxxxx
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Gerald Combs <gerald@xxxxxxxxxxxxx>  2008-12-30 12:07:32 PDT ---
Using Visual C++ 6.0 in conjunction with an SDK such as the Platform SDK for
Windows Server 2003 R2 fixes the missing definitions for in6_addr and
wProductType.

Jaap, I checked in a modified version of your patch that checks for the
presence of VER_NT_WORKSTATION instead of checking the compiler version. This
assumes that if VER_NT_WORKSTATION is present then wProductType is also
present, but it should work properly on bare MSVC6, MSVC6 plus an SDK, and
newer compilers.

I also checked in a change to config.nmake to disable GeoIP if we're compiling
with bare MSVC6.


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