Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/m4 Modified Files: ac_attribute.m4 Log Message: Move definition of __UNUSED__ to config.h. =================================================================== RCS file: /cvs/e/e16/e/m4/ac_attribute.m4,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ac_attribute.m4 18 Mar 2007 21:52:34 -0000 1.1 +++ ac_attribute.m4 18 Mar 2007 21:59:46 -0000 1.2 @@ -8,6 +8,9 @@ ac_cv___attribute__=yes, ac_cv___attribute__=no)]) if test "$ac_cv___attribute__" = "yes"; then AC_DEFINE(HAVE___ATTRIBUTE__, 1, [Define to 1 if your compiler has __attribute__]) + AC_DEFINE(__UNUSED__, __attribute__((unused)), [Macro declaring a function argument to be unused]) + else + AC_DEFINE(__UNUSED__, , [Macro declaring a function argument to be unused]) fi AC_MSG_RESULT($ac_cv___attribute__) ]) ------------------------------------------------------------------------- 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 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs