Definition of machicolation

What does the word machicolation mean?