Explorar o código

Enable SocketConnection.create on platforms other than neko/flash/js to allow use of ThreadRemotingServer.

bendmorris %!s(int64=11) %!d(string=hai) anos
pai
achega
afccbef685
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      std/haxe/remoting/SocketConnection.hx

+ 0 - 4
std/haxe/remoting/SocketConnection.hx

@@ -110,8 +110,6 @@ class SocketConnection implements AsyncConnection implements Dynamic<AsyncConnec
 		if( f.onResult != null ) f.onResult(ret);
 	}
 
-	#if (flash || js || neko)
-
 	function defaultLog(path,args,e) {
 		// exception inside the called method
 		var astr, estr;
@@ -178,6 +176,4 @@ class SocketConnection implements AsyncConnection implements Dynamic<AsyncConnec
 		return sc;
 	}
 
-	#end
-
 }