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: Camm Maguire
Subject: Re: [Maxima] [Gcl-devel] Re: windows-only read patch
Date: Fri, 06 Apr 2007 18:14:12 -0400
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigory ōmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

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

Thanks!

int
mingwlisten(FILE *fp) {

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



-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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