I'm pretty sure this is because there is a Yield() function in Windows 3.1, which is no longer needed in modern Windows, and there is a
If I compile this:
Code:
#include <windows.h>
int Yield();
It becomes this:
Code:
//<snip lots of stuff from Windows.h>
# 115 "m:/epoc32/gcc_mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windows.h" 2 3
# 2 "win.c" 2
int ;
So the "Yield()" went missing.
Unfortunately, I can't find which part of the rather complex set of headers that Windows.h drags in that actually does this define.
--
Mats