Browse Source

Merge pull request #3909 from dpeek/patch-1

Change std-buffer to std_buffer in macro condition
Simon Krajewski 10 years ago
parent
commit
7082fe2e4e
1 changed files with 4 additions and 4 deletions
  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
 	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);
 		var stream = new cs.system.io.FileStream(path, Open, Read, ReadWrite, 4096);
 		#else
 		#else
 		var stream = new cs.system.io.FileStream(path, Open, Read, ReadWrite);
 		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
 	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);
 		var stream = new cs.system.io.FileStream(path, Create, Write, ReadWrite, 4096);
 		#else
 		#else
 		var stream = new cs.system.io.FileStream(path, Create, Write, ReadWrite);
 		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
 	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);
 		var stream = new cs.system.io.FileStream(path, Append, Write, ReadWrite, 4096);
 		#else
 		#else
 		var stream = new cs.system.io.FileStream(path, Append, Write, ReadWrite);
 		var stream = new cs.system.io.FileStream(path, Append, Write, ReadWrite);
@@ -88,4 +88,4 @@ class File {
 	{
 	{
 		cs.system.io.File.Copy(srcPath, dstPath);
 		cs.system.io.File.Copy(srcPath, dstPath);
 	}
 	}
-}
+}