浏览代码

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

bendmorris 11 年之前
父节点
当前提交
afccbef685
共有 1 个文件被更改,包括 0 次插入4 次删除
  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
-
 }