Skip to content

Commit 7627d55

Browse files
author
Eduard Obolenskiy
committed
fix imports 2
1 parent c69250e commit 7627d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mingwX64Main/kotlin/File.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ actual class File actual constructor(pathname: String) {
291291
}
292292
}
293293

294-
actual val filePathSeparator by lazy { if (Platform.osFamily == OsFamily.WINDOWS) '\\' else '/' }
294+
actual val filePathSeparator by lazy { if (platform() == Platform.Windows) '\\' else '/' }
295295

296296
actual val File.mimeType: String
297297
get() = ""

0 commit comments

Comments
 (0)