P_NATIVE_BEGIN, P_NATIVE_END, P_FINISH, not defined

I usually build with “Rebuild” for that exact reason. But to be safe, I also deleted my Binaries and Intermediate folders for both the plugin and the main project, re-generated Visual Studio files, and the problem still occurs.