[Live-devel] live.com build fix for gcc 3.3x

Goetz Waschk waschk at informatik.uni-rostock.de
Thu Feb 19 16:57:07 PST 2004


Am Do 19 Feb 2004 07:20:13 GMT schrieb Ross Finlayson:
> Does anyone know of an #ifdef (of #if) that will test for the version of 
> gcc (and work OK both for old versions of gcc, and for other, non-gcc 
> compilers)?

bitstream.h from liba52 contains this:

#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC_ == 3 && __GNUC_MINOR__ > 0)

-- 
What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name of
totalitarianism or the holy name of liberty or democracy?
    Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"



More information about the live-devel mailing list