Show
Ignore:
Timestamp:
02/03/05 22:12:25 (8 years ago)
Author:
ahu
Message:

Further fix for old-style ticket 26 (Ralf van der Enden)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/pdns_recursor.cc

    r267 r287  
    4040#include "recursor_cache.hh" 
    4141 
    42 #ifdef FreeBSD           // see cvstrac ticket #26 
     42#ifdef __FreeBSD__           // see cvstrac ticket #26 
    4343#include <pthread.h> 
    4444#include <semaphore.h> 
     
    4949string s_programname="pdns_recursor"; 
    5050 
    51 #if !WIN32 && !FreeBSD 
     51#ifndef WIN32 
     52#ifndef __FreeBSD__ 
    5253extern "C" { 
    5354  int sem_init(sem_t*, int, unsigned int){return 0;} 
     
    6263 
    6364} 
     65#endif // __FreeBSD__ 
    6466#endif // WIN32 
    6567