Please add a library that tells what platform it is compiled for.
For example,
#define MILI_PLATFORM_LINUX 1
#define MILI_PLATFORM_WINDOWS 2
#define MILI_PLATFORM_MAC 3
#define MILI_PLATFORM_UNKNOWN 4
#if defined WIN32
# define MILI_PLATFORM MILI_PLATFORM_WINDOWS
#elif defined ....
#else
# define MILI_PLATFORM MILI_PLATFORM_UNKNOWN
#endif
There might be already places where we need this, even in mili.
For example, issue22 might need something like this (we should do something
similar for the compiler: MILI_COMPILER MILI_COMPILER_GCC etc).
CC Esteban because of this.
Original issue reported on code.google.com by daniel.g...@fudepan.org.ar on 6 Jan 2012 at 3:01
Original issue reported on code.google.com by
daniel.g...@fudepan.org.ar
on 6 Jan 2012 at 3:01