diff lib/vasnprintf.c @ 5664:13311bdb333d

Update from gettext 0.14.2.
author Bruno Haible <bruno@clisp.org>
date Tue, 01 Mar 2005 15:36:36 +0000
parents dfed7854bcf3
children 227e81adcf82
line wrap: on
line diff
--- 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