gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maxima] [Gcl-devel] Re: windows-only read patch


From: Vadim V. Zhytnikov
Subject: Re: [Maxima] [Gcl-devel] Re: windows-only read patch
Date: Sat, 07 Apr 2007 20:43:34 +0300
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Camm Maguire writes:
Greetings!  Could you please try the following?  Please remember the
winsock2.h include in the original patch.

Yes

int
mingwlisten(FILE *fp) {

  int c = 0;
  ioctlsocket((fp)->_fileno, FIONREAD, &c);
  if (c<=0)
    return 1;
  return 0;
}


Now compiler complains about _fileno:

structure has no member named `_fileno'

--
     Vadim V. Zhytnikov

      <address@hidden>
     <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]