diff options
Diffstat (limited to 'comport/comport.c')
-rw-r--r-- | comport/comport.c | 4 |
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) { |