I want to make the code of my application compile differently for windows mobile, since it has fewer features.
To that end, i want to write code like this:
#ifndef (_windows_mobile_)
//define avaiabilty of features thatare not supported in windows mobile
#endif
What is the macro i should use?
Target plarform is Windows Mobile 6 professional.
I went to http://sourceforge.net/p/predef/wiki/OperatingSystems/, but macro _WIN32_WCE listed there is not defined.
You should properly define the project and the build target so that the needed macros and headers from Windows CE platform SDK are pulled in, otherwise if building with a bare x86 desktop build target it won’t work.