Disabling WIN32 macro in CodeWarrior
From Forum Nokia Wiki
The CodeWarrior compiler defines the _WIN32 preprocessor macro by default. This can have unwanted consequences when porting e.g. POSIX code to Symbian. You can undefine this macro by adding the following line to the MMP file:
OPTION CW -u _WIN32
This will only work on command line and not in projects imported to the CodeWarrior IDE.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| symbian c++ | netra | Symbian Tools & SDKs | 9 | 2008-07-14 11:57 |
| Whats _S used for? | Potassium | General Symbian C++ | 2 | 2006-07-23 21:14 |
| CodeWarrior looses syntax highlighting ever so often | rburgst | Carbide.c++ and CodeWarrior Tools | 4 | 2005-06-03 11:23 |
| Target debugging in S60 3rd | iulian_moldovan | General Symbian C++ | 13 | 2006-08-07 19:30 |
| CodeWarrior and Series 60 SDK 1.0 | maxim_d33 | Symbian Tools & SDKs | 13 | 2003-04-15 11:37 |
