Microlensing towards the SMC: a new analysis of OGLE and EROS results