]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
No more overlap between lines (I hope).
[wxWidgets.git] / src / common / string.cpp
index 86012fadb3cf4c17faa8043f4fe3f7505e80cee0..54a87d7ba5bb2006d656d4b0bd0308a69577f7a7 100644 (file)
@@ -114,6 +114,11 @@ extern const char WXDLLEXPORT *g_szNul = &g_strEmpty.dummy;
     #endif //compiler
 #endif // no vsnprintf
 
+#ifdef _AIX
+  // AIX has vsnprintf, but there's no prototype in the system headers.
+  extern "C" int vsnprintf(char* str, size_t n, const char* format, va_list ap);
+#endif
+
 // ----------------------------------------------------------------------------
 // global functions
 // ----------------------------------------------------------------------------