diff options
Diffstat (limited to 'lib/vasnprintf.c')
-rw-r--r-- | lib/vasnprintf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c index a21134016..df939984a 100644 --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -52,6 +52,11 @@ # define SIZE_MAX ((size_t) -1) #endif +/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ +#ifndef EOVERFLOW +# define EOVERFLOW E2BIG +#endif + #ifdef HAVE_WCHAR_T # ifdef HAVE_WCSLEN # define local_wcslen wcslen |