Windows defines macros WIN32, _WIN32 and such. For POSIX, you might findOn Tue, Mar 24, 2009 at 03:14:56PM -0300, Fabrício Godoy wrote:
> 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.
this page[1] helpful.
[1] http://www.gnu.org/software/hello/manual/libc/Feature-Test-Macros.html
Regards,
Deng Xiyue
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list