From ad24c79d3e072602c33c43000bbb8f523d334fb2 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Thu, 4 Feb 2010 16:25:38 +0000 Subject: seems MinGW and VC don't agree on the content of an OVERLAPPED struct. svn path=/trunk/externals/iem/comport/; revision=13143 --- comport/comport.c | 4 ++-- 1 file 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) { -- cgit v1.2.1