https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
a

Animesh Sahu

12/04/2020, 5:20 AM
How to include a header whose definition may be present or absent the host machine? I want to check that on runtime, and if was absent I wanna use a fallback. By the way if you wanted to know the use case, I wanted to do this for X11 header, as some linux may have a desktop and some don't...
👀 1
Actually for X11, I got the thing for checking at runtime: https://stackoverflow.com/a/45537237/11377112
❤️ 1
3 Views