#ifdef __FreeBSD__
#if defined(i386) && !defined(__LP64__)
#define AS_X86
#else
#define AS_MAX_PORTABILITY
#endif
#endif
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
FreeBSD x86 Native Calling Conventions
The following will add support for native calling conventions on FreeBSD for the x86:
Add that to as_config.h inside of the GNU C check. I think this will also work for other BSD systems, but I don't have any others installed right now. I will do this over the next couple of days and post the required code after I verify that it works correctly.
I did run test_feature on it and it passes all of the tests.
Jeremy
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement