Moved little-endian? to alien.c-types

db4
Slava Pestov 2008-02-08 01:49:30 -06:00
parent 59cc83c296
commit 6df325c168
1 changed files with 0 additions and 2 deletions

2
extra/io/unix/select/select.factor Normal file → Executable file
View File

@ -9,8 +9,6 @@ TUPLE: select-mx read-fdset write-fdset ;
! Factor's bit-arrays are an array of bytes, OS X expects
! FD_SET to be an array of cells, so we have to account for
! byte order differences on big endian platforms
: little-endian? 1 <int> *char 1 = ; foldable
: munge ( i -- i' )
little-endian? [ BIN: 11000 bitxor ] unless ; inline