From: Richard D. <ric...@us...> - 2007-05-06 10:00:45
|
Update of /cvsroot/file-extattr/File-ExtAttr In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv29460 Modified Files: ppport.h Log Message: Fix compile warning Index: ppport.h =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/ppport.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ppport.h 16 Nov 2005 19:13:09 -0000 1.1 --- ppport.h 6 May 2007 10:00:44 -0000 1.2 *************** *** 222,233 **** #endif ! #ifdef HASATTRIBUTE ! # if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER) ! # define PERL_UNUSED_DECL # else ! # define PERL_UNUSED_DECL __attribute__((unused)) # endif - #else - # define PERL_UNUSED_DECL #endif --- 222,235 ---- #endif ! #if defined(HASATTRIBUTE) ! # if !defined(PERL_UNUSED_DECL) ! # if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER) ! # define PERL_UNUSED_DECL ! # else ! # define PERL_UNUSED_DECL __attribute__((unused)) ! # endif # else ! # define PERL_UNUSED_DECL # endif #endif |