On Sat, 28 Aug 2010, Charles Wilson wrote:
On 8/28/2010 11:43 AM, Vincent Torri wrote:
On Sat, 28 Aug 2010, Charles Wilson wrote:
On 8/28/2010 9:21 AM, Ralf Wildenhues wrote:
[__WINDOWS__, __CYGWIN__, _WIN32_WCE]: Define LT_DLSYM_CONST
I don't think __WINDOWS__ is the correct symbol; that is only defined by
Watcom C/C++. I think this should be changed to _WIN32 throughout.
_WIN32 is what is defined everywhere, indeed.
Wait, Vincent...what are you saying? Do you mean that we don't need to
use _WIN32_WCE since (maybe?) _WIN32 is defined also on WINCE?
sorry, i was not sufficient clear. the cegcc project has 2 compilers names
cegcc and mingw32ce. The former does not define _WIN32 (you can pass
-mwin32 to have _WIN32, but it's optional). So do not rely on _WIN32 for
Windows CE. I don't know if _WIN32 is defined or not with the visual
compiler for Windows CE. Only rely on _WIN32_WCE for Windows CE. On all
other Windows platform (95, 98, XP, Vista, 7, etc...) and with all the
compilers I know of, _WIN32 is used. That was what I wanted to say.
sorry for the confusion
Vincent Torri