I'm currently developing a program that needs to be cross-platform, but some of my abstraction layer needs to be platform specific. I know that there are some Preprocessors that work on certain systems, but I'm wondering if there are standards for such things?
I'm currently using things such as:
But I know that these are not always constant, and some not even prevalent, but is there a better way to do this??
Thanks for your help!
-Miq
I'm currently using things such as:
Code:
_WIN32
__WIN__
__UNIX__
__APPLE__
But I know that these are not always constant, and some not even prevalent, but is there a better way to do this??
Thanks for your help!
-Miq