Before it meant tall building what did skyscraper mean?

Question
Before it meant tall building what did skyscraper mean?
Answer
Tall sailing ships masts