X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57493f9f852d91a5750b4a68053a465f421e12be..f0594f42be7ce86df1cbc4eee9b68f377e48c6c8:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 86012fadb3..54a87d7ba5 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -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 // ----------------------------------------------------------------------------