fix bcc bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2003-02-01 19:54:11 +00:00
parent c921fd5994
commit 11a1face0e

View File

@@ -598,7 +598,7 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use
For some systems vsnprintf() exists in the system libraries but not in the For some systems vsnprintf() exists in the system libraries but not in the
headers, so we need to declare it ourselves to be able to use it. headers, so we need to declare it ourselves to be able to use it.
*/ */
#ifndef HAVE_VSNPRINTF_DECL #if defined(HAVE_VSNPRINTF) && !defined(HAVE_VSNPRINTF_DECL)
extern "C" extern "C"
int vsnprintf(char *str, size_t size, const char *format, va_list ap); int vsnprintf(char *str, size_t size, const char *format, va_list ap);
#endif // !HAVE_VSNPRINTF_DECL #endif // !HAVE_VSNPRINTF_DECL