Re: GLIB_CHECK_VERSION (was: Glib rand() function)



Derek Simkowiak <dereks@kd-dev.com> writes: 
> 	I want to use this in my code:
> 
> if (GLIB_CHECK_VERSION (1, 3, 0))
> 	[...use g_rand()...]
> else
> 	[...use rand()...]
> 

Derek, you should know that 1.3 isn't supposed to be used in apps
yet... you can use AM_PATH_GLIB(1.4.0) for this.

Havoc



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