Join Slack
Powered by
Is there any POSIX method to get os type in runtim...
# kotlin-native
d
deactivateduser
10/14/2019, 11:12 AM
Is there any POSIX method to get os type in runtime ?
d
Dominaezzz
10/14/2019, 11:20 AM
I know this isn't a direct answer but `expect`/`actual` is not too bad a solution.
o
olonho
10/14/2019, 3:35 PM
https://github.com/JetBrains/kotlin-native/blob/bb67a21df93ef30634bac0ddddb3297669f47a53/runtime/src/main/kotlin/kotlin/native/Platform.kt#L63
👍 2
d
deactivateduser
10/14/2019, 4:42 PM
Thanks...
2
Views
Open in Slack
Previous
Next