changeset 981:38143deb7ff6

* common/eCosStd.h: Use WSAEWOULDBLOCK under Cygwin.
author jld
date Wed, 30 Apr 2003 14:01:13 +0000
parents 802a526cd4ac
children 282a39769954
files host/tools/Utils/ChangeLog host/tools/Utils/common/eCosStd.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/host/tools/Utils/ChangeLog
+++ b/host/tools/Utils/ChangeLog
@@ -1,6 +1,7 @@
 2003-04-30  John Dallaway  <jld@ecoscentric.com>
 
 	* common/eCosStd.h: Update version string to "2.net".
+	  Use WSAEWOULDBLOCK under Cygwin.
 
 2003-02-12  Bart Veer  <bartv@ecoscentric.com>
 
--- a/host/tools/Utils/common/eCosStd.h
+++ b/host/tools/Utils/common/eCosStd.h
@@ -56,7 +56,7 @@
   #include <malloc.h>     // malloc
   #include <stdlib.h>     // atoi
   #include <errno.h>
-  #define WOULDBLOCK EWOULDBLOCK
+  #define WOULDBLOCK WSAEWOULDBLOCK
 
   #include "wcharunix.h"
   #include <sys/time.h>