by gizdan · 5y ago · 0 comments
Looking at the examples given, perhaps it would be relatively trivial to wrap both these libraries into a single one where the library does the if statements for you.
It indeed can be extended to do a similar job for macOS and Windows (or Linux).