On Tue, Nov 07, 2023 at 09:34:15PM +0800, Qian Yun wrote:
> 
> 
> On 11/7/23 21:27, Waldek Hebisch wrote:
> > On Tue, Nov 07, 2023 at 07:49:06PM +0800, Qian Yun wrote:
> > > Finally I can get FriCAS compiled on Android with SBCL.
> > > The running speed is not bad.
> > > 
> > > The most important step is to get SBCL binary for Android from:
> > > https://github.com/bohonghuang/sbcl-termux-build
> > > 
> > > Only one build error: "error: unknown type name 'fd_set'".
> > > 
> > > 'fd_set' is defined in "sys/select.h", so it seems that it is implicitly
> > > included by "sys/types.h" (via __USE_MISC macro).
> > 
> > Old standard says that select should be defined in "unistd.h" and
> > releated types in "sys/types.h" and "sys/time.h".  It probably
> > makes sense to switch to new standard and use "sys/select.h"
> > (as you propose).
> > 
> > Related thing is that select and related types seem to be used
> > only in 'sockio.c', so it would make sense to move all related
> > declarations to 'sockio.c'.
> 
> "select" is used by "sselect", which is used in various places.
> 
> So commit the original patch?

Hmm, AFAICS 'sselect' is used only in 'sockio-c.c'.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZUpAID3Z0isWytm7%40fricas.org.

Reply via email to