comparison src/compiler.h @ 4990:8f0cf4fd3d2c

Automatic merge
author Ben Wing <ben@xemacs.org>
date Sat, 06 Feb 2010 04:01:46 -0600
parents cbe181529c34
children d4f666cda5e6
comparison
equal deleted inserted replaced
4989:d2ec55325515 4990:8f0cf4fd3d2c
241 # ifdef HAVE_XFT 241 # ifdef HAVE_XFT
242 # define USED_IF_XFT(decl) decl 242 # define USED_IF_XFT(decl) decl
243 # else 243 # else
244 # define USED_IF_XFT(decl) UNUSED (decl) 244 # define USED_IF_XFT(decl) UNUSED (decl)
245 # endif 245 # endif
246 # ifdef HAVE_SCROLLBARS
247 # define USED_IF_SCROLLBARS(decl) decl
248 # else
249 # define USED_IF_SCROLLBARS(decl) UNUSED (decl)
250 # endif
246 #endif /* UNUSED */ 251 #endif /* UNUSED */
247 252
248 /* Declaration that variable or expression X is "used" to defeat 253 /* Declaration that variable or expression X is "used" to defeat
249 "unused variable" warnings. DON'T DO THIS FOR PARAMETERS IF IT ALL 254 "unused variable" warnings. DON'T DO THIS FOR PARAMETERS IF IT ALL
250 POSSIBLE. Use an UNUSED() or USED_IF_*() declaration on the parameter 255 POSSIBLE. Use an UNUSED() or USED_IF_*() declaration on the parameter