[7] Before she travailed, she brought forth; before her pain came, she was delivered of a man child.
[8] Who hath heard such a thing? who hath seen such things? Shall the earth be made to bring forth in one day? or shall a nation be born at once? for as soon as Zion travailed, she brought forth her children.- Isaiah 66
Since the passage in Revelation 12 is a future event the "man child" is the saved remnant of Israel.