-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardized ifdef usage. #1326
Comments
I'd still love to see a code design like https://gist.github.com/jhass/cbc509e8ed1025b22a70, minimizing the amount of actual |
@jhass having a platform independence layer between the std/core lib and the underlying C lib looks great! |
@jhass I kinda agree. It was the first thing I noticed will be complicated when implementing support for other platforms. However, I'm more biased towards platform-specific directories and files, like |
I think what @ysbaddaden did with posix and the I'm closing this, but please reopen with specific proposal to improve this (though I guess in the end we just need an on-the-fly bindings generator) |
I suggest that the style and conditions if platform specific ifdef statements be standardized. The current method is likely to produce errors when porting to other platforms.
Should an order be defined?
The text was updated successfully, but these errors were encountered: