04-02-2012, 05:05 AM
It seems that both Darwin and OS X whatever have the macro __APPLE__ defined, but each has a different strerror_r() function signature.
Could you please run this command on your Darwin machine, and paste its output here, so that we can find out what kind of macros we need to set up to make the compilation succeed on both systems.
Thanks.
Could you please run this command on your Darwin machine, and paste its output here, so that we can find out what kind of macros we need to set up to make the compilation succeed on both systems.
Code:
gcc -dM -E - < /dev/null