[Top][All Lists]

[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 (Windows/20070221)

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


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


reply via email to

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