Browse Source

Minor change for cpp

Hugh Sanderson 16 years ago
parent
commit
20bf072cf7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      std/haxe/io/Output.hx

+ 2 - 0
std/haxe/io/Output.hx

@@ -50,6 +50,8 @@ class Output {
 				writeByte(untyped __dollar__sget(b,pos));
 				writeByte(untyped __dollar__sget(b,pos));
 			#elseif php
 			#elseif php
 				writeByte(untyped __call__("ord", b[pos]));
 				writeByte(untyped __call__("ord", b[pos]));
+			#elseif cpp
+				writeByte(untyped b[pos]);
 			#else
 			#else
 				writeByte(b[pos]);
 				writeByte(b[pos]);
 			#end
 			#end