Преглед на файлове

Merge pull request #3909 from dpeek/patch-1

Change std-buffer to std_buffer in macro condition
Simon Krajewski преди 10 години
родител
ревизия
7082fe2e4e
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      std/cs/_std/sys/io/File.hx

+ 4 - 4
std/cs/_std/sys/io/File.hx

@@ -56,7 +56,7 @@ class File {
 
 	public static function read( path : String, binary : Bool = true ) : FileInput
 	{
-		#if std-buffer //standardize 4kb buffers
+		#if std_buffer //standardize 4kb buffers
 		var stream = new cs.system.io.FileStream(path, Open, Read, ReadWrite, 4096);
 		#else
 		var stream = new cs.system.io.FileStream(path, Open, Read, ReadWrite);
@@ -66,7 +66,7 @@ class File {
 
 	public static function write( path : String, binary : Bool = true ) : FileOutput
 	{
-		#if std-buffer //standardize 4kb buffers
+		#if std_buffer //standardize 4kb buffers
 		var stream = new cs.system.io.FileStream(path, Create, Write, ReadWrite, 4096);
 		#else
 		var stream = new cs.system.io.FileStream(path, Create, Write, ReadWrite);
@@ -76,7 +76,7 @@ class File {
 
 	public static function append( path : String, binary : Bool = true ) : FileOutput
 	{
-		#if std-buffer //standardize 4kb buffers
+		#if std_buffer //standardize 4kb buffers
 		var stream = new cs.system.io.FileStream(path, Append, Write, ReadWrite, 4096);
 		#else
 		var stream = new cs.system.io.FileStream(path, Append, Write, ReadWrite);
@@ -88,4 +88,4 @@ class File {
 	{
 		cs.system.io.File.Copy(srcPath, dstPath);
 	}
-}
+}