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__SNPRINTF) > #define snprintf _snprintf > #endif > > > in wine/port.h but it requires config.h and they don't appear in my > Visual C++ system. What is the best way to address this problem? It > seems to be fairly common but I have not found an example in a test.
Just replace it by sprintf, tests should be made as portable as possible. -- Alexandre Julliard [EMAIL PROTECTED]