Roxen.git / server / etc / include / roxen.h

version» Context lines:

Roxen.git/server/etc/include/roxen.h:1:   // -*- pike -*-   // - // $Id: roxen.h,v 1.23 2002/03/12 13:18:27 mast Exp $ + // $Id: roxen.h,v 1.24 2003/03/05 13:50:42 mast Exp $      #ifndef _ROXEN_H_      #define _ROXEN_H_   #include <config.h>   #define HOST_TO_IP 'H'   #define IP_TO_HOST 'I'      // Localization support   
Roxen.git/server/etc/include/roxen.h:25:   #endif /* !_STR_LOCALE */      #ifndef _DEF_LOCALE   # define _DEF_LOCALE(X, Y, Z) ([object(Locale.DeferredLocale)|string]((mixed)Locale.DeferredLocale(X,__LOCALE,Y,Z)))   #endif /* !_DEF_LOCALE */      #ifndef _LOCALE_FUN   #define _LOCALE_FUN(X, Y, Z) Locale.call(X, __LOCALE(), Y, Z)   #endif /* !_LOCALE_FUN */    + // Needed to get core dumps of seteuid()'ed processes on Linux. + #if constant(System.dumpable) + #define enable_coredumps(X) System.dumpable(X) + #elif constant(system.dumpable) + // Pike 7.2. + #define enable_coredumps(X) system.dumpable(X) + #else + #define enable_coredumps(X) + #endif +    // Debug macros.      #ifdef DEBUG   #define DO_IF_DEBUG(X...) X   #else   #define DO_IF_DEBUG(X...)   #endif      #endif /* !_ROXEN_H_ */