]> git.saurik.com Git - wxWidgets.git/commitdiff
fix bcc bug
authorChris Elliott <biol75@york.ac.uk>
Sat, 1 Feb 2003 19:54:11 +0000 (19:54 +0000)
committerChris Elliott <biol75@york.ac.uk>
Sat, 1 Feb 2003 19:54:11 +0000 (19:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 88ea3006468a75a66ee28db28d8e830575d99e24..28b9c1dc169d31e6e055995802f1a53fbf7bec46 100644 (file)
@@ -598,7 +598,7 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use
    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.
  */
-#ifndef HAVE_VSNPRINTF_DECL
+#if defined(HAVE_VSNPRINTF) && !defined(HAVE_VSNPRINTF_DECL)
     extern "C"
     int vsnprintf(char *str, size_t size, const char *format, va_list ap);
 #endif // !HAVE_VSNPRINTF_DECL