< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] [PATCH] Visual Studio 2008


FYI, some of the ipv6 structures have changed.  From my initial testing with VS 2008, to compile with USE_IPV6 the target OS must be set to Win2k SP1 or above (using some new macros defined in VS 2008).  Let me know if you have found any different, or a better way.

 

#ifdef USE_IPV6

#if (_MSC_VER >= 1500)

#define _WIN32_WINNT _WIN32_WINNT_WIN2K

#define NTDDI_VERSION NTDDI_WIN2KSP1

#else

//with VS < 2008 technically the following could be set to less than 0x0500 to build.

#define _WIN32_WINNT 0x0500

#define WINVER 0x0500

#endif

#else

//set whatever target platform here without V6 support.

#endif

 

Thanks,

 

-justin

 

From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Aron Rosenberg
Sent: Tuesday, November 27, 2007 9:02 PM
To: resiprocate-devel
Subject: [reSIProcate] [PATCH] Visual Studio 2008

 

Attached is a patch adding Visual Studio 2008 project files.

 

-Aron

 

 

---------------------------------------------

Aron Rosenberg

Founder and CTO

SightSpeed - http://www.sightspeed.com/