Re: Visual C++ does not seem to have snprinft

2006-09-18 Thread Damjan Jovanovic
--- 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

Re: Visual C++ does not seem to have snprinft

2006-09-16 Thread James Hawkins
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

Re: Visual C++ does not seem to have snprinft

2006-09-15 Thread Segin
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

Re: Visual C++ does not seem to have snprinft

2006-09-08 Thread David Laight
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

Re: Visual C++ does not seem to have snprinft

2006-09-07 Thread Alexandre Julliard
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

Visual C++ does not seem to have snprinft

2006-09-07 Thread Jeff L
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