Is there some way to determine which processor is being compiled to?

I have several pieces of source which are compiled for a generic 80C31 or a Dallas 80C310. These processors require a different include files for the sfrs. Rather than changing the source code each time I change projects, it would be nice to use an ifdef.

More questions in this forum