PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

#ifndef WINCE ..?

I'm looking for the directive (I'm brain dead atm, that is what it's called right?) to add/remove code based on what compiler I'm using. ie; PPC or Desktop PC. What's the check for that?

#ifndef ?
// PC code
#endif

Thanks.
You are looking for:

Code:

#if !defined(_WIN32_WCE)
...
#endif
There it is, thanks.