summaryrefslogtreecommitdiff
path: root/lib/vasnprintf.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-03-01 15:36:36 +0000
committerBruno Haible <bruno@clisp.org>2005-03-01 15:36:36 +0000
commitdd469821917cebe0abde6601b2ba7cd887bc498f (patch)
treea5263805a5aee3901b594e31eef9674a1f9f3921 /lib/vasnprintf.c
parentda5e928ba20516cb846149cdda902bb7edd4995b (diff)
downloadgnulib-dd469821917cebe0abde6601b2ba7cd887bc498f.tar.gz
Update from gettext 0.14.2.
Diffstat (limited to 'lib/vasnprintf.c')
-rw-r--r--lib/vasnprintf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c
index ff80857305..5fc255a200 100644
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -51,6 +51,11 @@
/* Checked size_t computations. */
#include "xsize.h"
+/* 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