Переглянути джерело

Merge pull request #2797 from bendmorris/development

Enable SocketConnection.create on platforms other than neko/flash/js.
Nicolas Cannasse 11 роки тому
батько
коміт
34633742cf
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
-
 }