mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 16:48:18 +00:00
Remove if ODIN_OS == .Windows in file that can only be built on Windows
This commit is contained in:
@@ -315,7 +315,6 @@ _is_UNC :: proc(path: string) -> bool {
|
||||
}
|
||||
|
||||
_volume_name_len :: proc(path: string) -> int {
|
||||
if ODIN_OS == .Windows {
|
||||
if len(path) < 2 {
|
||||
return 0
|
||||
}
|
||||
@@ -348,6 +347,5 @@ _volume_name_len :: proc(path: string) -> int {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user