2011-09-12 Jonathan Yong <jon_y@users.sourceforge.net>
* errno.h (EOVERFLOW): Fix typo, use EFBIG.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/stable/v2.x@4457 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/crt/ChangeLog b/mingw-w64-headers/crt/ChangeLog
index b1a6599..0846155 100644
--- a/mingw-w64-headers/crt/ChangeLog
+++ b/mingw-w64-headers/crt/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-12 Jonathan Yong <jon_y@users.sourceforge.net>
+
+ * errno.h (EOVERFLOW): Fix typo, use EFBIG.
+
2011-08-22 Jonathan Yong <jon_y@users.sourceforge.net>
* _mingw.h.in (__forceinline): Fix for C99 case and check for
diff --git a/mingw-w64-headers/crt/errno.h b/mingw-w64-headers/crt/errno.h
index fb73c32..38f9aa3 100644
--- a/mingw-w64-headers/crt/errno.h
+++ b/mingw-w64-headers/crt/errno.h
@@ -58,7 +58,9 @@
#define ENOSYS 40
#define ENOTEMPTY 41
-#define EOVERFLOW E2BIG
+#ifndef EOVERFLOW
+#define EOVERFLOW EFBIG
+#endif
#ifndef RC_INVOKED
#if !defined(_SECURECRT_ERRCODE_VALUES_DEFINED)