Platform identify



How can I identify the platform like this:

#if PLATFORM_WINDOWS
 #include <specificlibrary.h>
#else if PLATFORM_LINUX
 #include <otherlibrary.h>
#endif

I tried something with autotools without success.

Thank you.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]