diff --git a/src/libCom/fdmgr/fdManager.h b/src/libCom/fdmgr/fdManager.h index c88be55c0..1881aff3b 100644 --- a/src/libCom/fdmgr/fdManager.h +++ b/src/libCom/fdmgr/fdManager.h @@ -187,8 +187,12 @@ inline resTableIndex fdRegId::hash (unsigned) const { resTableIndex hashid; +#if defined(__GNUC__) && ( __GNUC__<2 || (__GNUC__==2 && __GNUC__<8) ) hashid = intId ::hashEngine(this->fd); +#else + hashid = intId::hashEngine(this->fd); +#endif // // also evenly distribute based on the type of fdRegType