Re: [reSIProcate] fail to build resiprocate under VS2008 64bit
I've committed this fix - thanks!
Scott
On Fri, May 21, 2010 at 10:23 AM, Klaus Darilion
<klaus.mailinglists@xxxxxxxxx> wrote:
Am 21.05.2010 15:10, schrieb Adam Roach:
On 5/21/10 05:06, May 21, Klaus Darilion wrote:
Hi!
I just tried to build resiprocate 1.6 with VS2008. Under 32bit it
built without problems, but it fails to build for 64bit platform.
The problem is inline assembler code (__asm) code in rutil, which is
not supported by VS on 64bit platform. (easy to fix - just comment the
assembler code)
Except that code does something. Is there some macro that VS2008 defines
when compiling in 64-bit mode? If so, you'll want to change the
"#define" in rutil/stun/Stun.h on line 809 to include that macro as
well. E.g.:
#if !defined(UNDER_CE) && !defined(__GNUC__) &&
!defined(WHATEVER_INDICATES_64_BIT_BUILDS)
/a
#if !defined(UNDER_CE) && !defined(__GNUC__) && !defined(_WIN64)
please apply to trunk
thanks
klaus