You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using macros is the way to go. I think also it would be good to put each platform specific implementation in its directory like linux, bsd... and of course keeping the same API.
Right now the shard was tested, built and ran only on Linux, but we should let the Mac guys in on the fun :)
Suggested way to do it is by having compile time OS specific code wrapped so that the program can be used in different operating systems.
For example (from crystal repo)
The text was updated successfully, but these errors were encountered: