On 11/15/06, Michael Jerris <[EMAIL PROTECTED]> wrote:
> Additionally, we should probably use something like :

Thanks for the patch. That is what you get for copy and paste coding
while sleeping.

> #ifdef __GNUC__
>
> #define SOFIA_GCC_VERSION (__GNUC__ * 10000 \
>                              + __GNUC_MINOR__ * 100 \
>                              + __GNUC_PATCHLEVEL__)
>
> #if SOFIA_GCC_VERSION >= 300200
> #define SOFIA_GCC_ATTR_MALLOC  __attribute__ ((__malloc__))
> #endif
>
> #else
> #define SOFIA_GCC_ATTR_MALLOC
> #endif

We have something like that in <sofia-sip/su_config.h> but for gcc
2.96 or newer.

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to