Browse Source

[as3] dodge inline issue

Simon Krajewski 9 years ago
parent
commit
f5c81e1a68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/DateTools.hx

+ 1 - 1
std/DateTools.hx

@@ -161,7 +161,7 @@ class DateTools {
 	/**
 	/**
 		Converts a number of minutes to a timestamp.
 		Converts a number of minutes to a timestamp.
 	**/
 	**/
-	public static inline function minutes( n : Float ) : Float {
+	#if as3 @:extern #end public static inline function minutes( n : Float ) : Float {
 		return n * 60.0 * 1000.0;
 		return n * 60.0 * 1000.0;
 	}
 	}