Commit b46b1480ec27994e1d222823c30efb3bf7dd2e3d

Thomas de Grivel 2018-05-29T10:55:36

epoll only on +LINUX threaded only on +THREADS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/thot.asd b/thot.asd
index 79fd6ea..a8ef4bc 100644
--- a/thot.asd
+++ b/thot.asd
@@ -13,7 +13,7 @@
                "bordeaux-threads"
                "babel-stream"
                "cffi-dirent"
-               "cffi-epoll"
+               #+linux "cffi-epoll"
                "cffi-socket"
                "cl-debug"
                "cl-stream"
@@ -24,5 +24,5 @@
   ((:file "package")
    (:file "thot" :depends-on ("package"))
    (:file "thot-simple" :depends-on ("thot"))
-   (:file "thot-threaded" :depends-on ("thot-simple"))
-   (:file "thot-epoll" :depends-on ("thot-threaded"))))
+   #+threads (:file "thot-threaded" :depends-on ("thot-simple"))
+   #+linux (:file "thot-epoll" :depends-on ("thot-threaded"))))