Good news, that's simple. That means that somewhere in your file, you have a line of code that terminates with an #endif without the corresponding #if statement to start it.
Bad news: that means that somewhere in the OS files, you are missing an #if. And without knowing where, and what you have modified, that could be anywhere.
The easiest fix is probably to take your ProffieOS folder, delete it, download it again and start configuring it from scratch.