When any number of men have, by the consent of every individual, made a community, they have thereby made that community into one body, with a power to act as one body, which is only by the will and determination of the majority.
Gist of Idea
Unanimous consent makes a united community, which is then ruled by the majority
John Locke (Second Treatise of Government , 096)
This seems to be presume democracy without discussion, although the formation of the community is by universal consent, which is the 'general will'. Rousseau has the constitution also made almost unanimously, not by a majority.
Locke,John: 'Two Treatises of Government' [Everyman 1988], p.165