How to know when serial has finished sending

Ah, I had the board set to SparkFun Pro Micro, so most likely the registers are called something else (since it uses the AtMega32U4 instead of the AtMega328). Setting the board to Uno, it compiles fine. Thanks!