--- Segin <[EMAIL PROTECTED]> wrote:
> Jeff L wrote:
> > When compiling dlls/gdi/tests/metafile.c on line
> 1357 I get a warning
> > C4013: "snprintf" is undefined. Looking around,
> it seems that snprinft
> > is in fact _snprintf in Visual C++. I have
> found a define
> >
> >#if !defi
On 9/15/06, Segin <[EMAIL PROTECTED]> wrote:
Jeff L wrote:
> When compiling dlls/gdi/tests/metafile.c on line 1357 I get a warning
> C4013: "snprintf" is undefined. Looking around, it seems that snprinft
> is in fact _snprintf in Visual C++. I have found a define
>
>#if !defined(HAVE_SNP
Jeff L wrote:
> When compiling dlls/gdi/tests/metafile.c on line 1357 I get a warning
> C4013: "snprintf" is undefined. Looking around, it seems that snprinft
> is in fact _snprintf in Visual C++. I have found a define
>
>#if !defined(HAVE_SNPRINTF) && defined(HAVE__SNPRINTF)
>#define
On Fri, Sep 08, 2006 at 12:05:29AM +1000, Jeff L wrote:
>
>#define snprintf _snprintf
Unfortunately the above isn't adequate, the windows _snprintf() isn't
the same beast as the posix (or is it even part of C now?) snprintf()
in particular:
1) _snprintf() returns -1 if the data wouldn't fit
Jeff L <[EMAIL PROTECTED]> writes:
> When compiling dlls/gdi/tests/metafile.c on line 1357 I get a warning
> C4013: "snprintf" is undefined. Looking around, it seems that
> snprinft is in fact _snprintf in Visual C++. I have found a define
>
>#if !defined(HAVE_SNPRINTF) && defined(HAVE__S
When compiling dlls/gdi/tests/metafile.c on line 1357 I get a warning
C4013: "snprintf" is undefined. Looking around, it seems that snprinft
is in fact _snprintf in Visual C++. I have found a define
#if !defined(HAVE_SNPRINTF) && defined(HAVE__SNPRINTF)
#define snprintf _snprintf