Branch: Tag:

2014-05-12

2014-05-12 15:55:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike 8.0: #if efun() is obsolete since 10 years back.

Reduce warnings from cpp().

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..
18:   // #define UNSAFE_MYSQL       - #if efun(thread_create) + #if constant(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) */ + #endif /* constant(thread_create) */   #define add_efun add_constant      /* Reply 'PONG\r\n' to the query 'PING\r\n'.