Re: Platform identify



Sorry, sending to list.

2009/3/25 Fabrício Godoy <skarllot gmail com>
Thank you very much, very useful.
I will need to add extra flags.

2009/3/25 Vladislav Grinchenko <vladislav grinchenko comtechtel com>

I build my program (granule) with mingw compiler. Look at my
configure.in [1] for all 'mingw' tags. You can also look at
src/Makefile.am to see how it all put together.

regards,
--Vlad

[1]
http://granule.cvs.sourceforge.net/viewvc/granule/granule/configure.in?revision=1.61&view=markup



On Tue, 2009-03-24 at 15:14 -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.
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list





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