Added OPEN_MAX macro