summaryrefslogtreecommitdiff
path: root/lang/ofc/files/patch-ofc__DTCPServer.m
blob: be3fad93f8c4617da3ef8f1941b92571f26c3e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- ./ofc/DTCPServer.m.orig	2008-08-11 18:59:46.000000000 +0200
+++ ./ofc/DTCPServer.m	2014-08-29 08:26:49.887997880 +0200
@@ -370,6 +370,7 @@
           {
             switch(_mode)
             {
+#ifndef __FreeBSD__
              case DTS_THREADING:
               {
                 ok = (objc_thread_detach(@selector(handleConnection:), self, peer) != NULL);
@@ -380,6 +381,7 @@
                 }
               }
               break;
+#endif
 #ifndef WIN32                
              case DTS_FORKING:
               {
@@ -460,9 +462,11 @@
   
   switch(_mode)
   {
+#ifndef __FreeBSD__
    case DTS_THREADING:
     objc_thread_exit();
     break;
+#endif
     
    case DTS_FORKING:
     exit(0);