[xiph-cvs] cvs commit: net sock.c

Brendan Cully brendan at xiph.org
Mon Jul 7 19:25:30 PDT 2003



On Monday, 07 July 2003 at 21:24, oddsock wrote:
> At 12:07 PM 7/8/2003 +1000, you wrote:
> >On Tuesday 08 July 2003 07:33, Brendan wrote:
> >> brendan     03/07/07 17:33:58
> >>
> >>   Modified:    .        sock.c
> >>   Log:
> >>   va_copy is undefined on windows
> >
> >> +#define va_copy(ap1, ap2) ((ap1) = (ap2))
> >
> >This won't work on some windows compilers (where va_list is, I think, an
> >array).
> >
> >Mike
> with MSVC, va_list is a pointer (char * actually)...I'm not sure what it is 
> under cygwin/gcc....so the question is, how many win32 compilers do we want 
> to support, or is MSVC adequate ?

Let's just use memcpy.
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list