Branch: Tag:

2002-03-12

2002-03-12 13:18:27 by Martin Stjernholm <mast@lysator.liu.se>

Added a DO_IF_DEBUG convenience macro.

Rev: server/etc/include/roxen.h:1.23

1: - // $Id: roxen.h,v 1.22 2000/11/24 16:50:35 per Exp $ - // -*- Pike -*- + // -*- pike -*- + // + // $Id: roxen.h,v 1.23 2002/03/12 13:18:27 mast Exp $      #ifndef _ROXEN_H_   
31:   #define _LOCALE_FUN(X, Y, Z) Locale.call(X, __LOCALE(), Y, Z)   #endif /* !_LOCALE_FUN */    + // Debug macros. +  + #ifdef DEBUG + #define DO_IF_DEBUG(X...) X + #else + #define DO_IF_DEBUG(X...) + #endif +    #endif /* !_ROXEN_H_ */