소스 검색

fix for haxe 3.x

ncannasse 7 년 전
부모
커밋
711fdefcd1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hxd/net/Socket.hx

+ 1 - 1
hxd/net/Socket.hx

@@ -221,7 +221,7 @@ private class FlashSocketOutput extends SocketOutput {
 		f();
 	}
 
-	override function writeString( str : String, ?encoding :  haxe.io.Encoding ) {
+	override function writeString( str : String #if (haxe_ver >= 4) , ?encoding :  haxe.io.Encoding #end ) {
 		s.writeUTFBytes(str);
 		f();
 	}