support EXTEND_PROTOTYPES = false