Commit f4e80704054349752a802f85babc49f70cf0de53

Thomas de Grivel 2018-06-17T16:38:03

file-descriptor is in unistd

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cffi-socket.lisp b/cffi-socket.lisp
index ddd81a3..bc278dc 100644
--- a/cffi-socket.lisp
+++ b/cffi-socket.lisp
@@ -20,9 +20,6 @@
 
 ;;  Sockets
 
-(deftype file-descriptor ()
-  `(unsigned-byte (1- (* 8 (foreign-type-size :int)))))
-
 (defcfun ("socket" c-socket) :int
   (domain :int)
   (type :int)