aboutsummaryrefslogtreecommitdiff
path: root/comport
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-02-04 16:25:38 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-02-04 16:25:38 +0000
commitad24c79d3e072602c33c43000bbb8f523d334fb2 (patch)
tree2db0a36d829902fb903217fc90fc5dc09e3e0d0c /comport
parent217e4a430c08b9ad468c55715dd91787301a2d16 (diff)
seems MinGW and VC don't agree on the content of an OVERLAPPED struct.
svn path=/trunk/externals/iem/comport/; revision=13143
Diffstat (limited to 'comport')
-rw-r--r--comport/comport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/comport/comport.c b/comport/comport.c
index 3a90f2a..6b35702 100644
--- a/comport/comport.c
+++ b/comport/comport.c
@@ -1037,7 +1037,7 @@ static void comport_tick(t_comport *x)
osReader.InternalHigh = 0;
osReader.Offset = 0;
osReader.OffsetHigh = 0;
- osReader.Pointer = 0;
+ /*osReader.Pointer = 0; seems MinGW doesn't knoow about this one */
osReader.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
if(ReadFile(x->comhandle, x->x_inbuf, x->x_inbuf_len, &dwRead, &osReader))
{
@@ -1102,7 +1102,7 @@ static void comport_tick(t_comport *x)
osWrite.InternalHigh = 0;
osWrite.Offset = 0;
osWrite.OffsetHigh = 0;
- osWrite.Pointer = 0;
+ /*osWrite.Pointer = 0; seems MinGW doesn't know about this one */
osWrite.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
if (osWrite.hEvent == NULL)
{