Branch: Tag:

2009-08-11

2009-08-11 09:51:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved compat with older pikes.

Rev: lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike:1.23

1:   //   // Basic filesystem monitor.   // - // $Id: basic.pike,v 1.22 2009/08/07 12:46:48 grubba Exp $ + // $Id: basic.pike,v 1.23 2009/08/11 09:51:14 grubba Exp $   //   // 2009-07-09 Henrik Grubbström   //
491:    m->next_poll = -1000;    monitor_queue->adjust(m);    while (monitor_queue->peek() < 0) { + #if __VERSION__ < 7.8 +  monitor_queue->top(); + #else    monitor_queue->pop(); -  + #endif    }   }