Is there a reason to use LINUX and MACOSX (or even TARGET_OS_MAC) in the c/c++/h-files?
Any c/c++-compiler that runs under linux that i know, will automatically define __linux__.
Any c/c++-compiler that runs under osX that i know, will automatically define __APPLE__.
Unfortunately, there is no such thing under Windows (I guess, because it is the "only os" ;-))
Why not use the standard defines? people could make life so simple...
Merged from https://sourceforge.net/p/freeframe/bugs/2/
Is there a reason to use LINUX and MACOSX (or even TARGET_OS_MAC) in the c/c++/h-files?
Any c/c++-compiler that runs under linux that i know, will automatically define
__linux__.Any c/c++-compiler that runs under osX that i know, will automatically define
__APPLE__.Unfortunately, there is no such thing under Windows (I guess, because it is the "only os" ;-))
Why not use the standard defines? people could make life so simple...
Merged from https://sourceforge.net/p/freeframe/bugs/2/