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

version» Context lines:

Roxen.git/server/etc/include/config.h:1:   /* -*- Pike -*- -  * $Id: config.h,v 1.36 2007/09/06 12:37:37 grubba Exp $ +  * $Id$    *    * User configurable things not accessible from the normal    * administration interface. Not much, but there are some things..    */         #ifndef _ROXEN_CONFIG_H_   #define _ROXEN_CONFIG_H_            // If you are running an MySQL older than 3.23.49 (which lacks a patch for   // a security hole in LOAD DATA LOCAL) you need to set this compatibility   // flag.   //   // #define UNSAFE_MYSQL       - #if efun(thread_create) - // If it works, good for you. If it doesn't, too bad. - #ifndef DISABLE_THREADS - #ifdef ENABLE_THREADS - # define THREADS - #endif /* ENABLE_THREADS */ - #endif /* !DISABLE_THREADS */ - #endif /* efun(thread_create) */ + // Threads are assumed nowadays. We leave the define for third-party code + // that still have two code paths. + #define THREADS +    #define add_efun add_constant      /* Reply 'PONG\r\n' to the query 'PING\r\n'.    * For performance tests...    */   #define SUPPORT_PING_METHOD      /* Do we want module level deny/allow security (IP-numbers and usernames).    * 1% speed loss, as an average. (That is, if your CPU is used to the max.    * it probably isn't..)