sorry for my bad english if it's bad.
my code
#include <windows.h>
int main(void)
{
CONDITION_VARIABLE cond;
return 0;
}
i have the following error when i compil.
CONDITION_VARIABLE undeclared
i have the same error than in this stackoverflow question, and i have seen in my Winbase.h file than i don't have the following typedef
typedef RTL_CONDITION_VARIABLE CONDITION_VARIABLE, *PCONDITION_VARIABLE;
i have found where i can to find a better Winbase.h, i have found this site
http://source.winehq.org/source/include/winbase.h
But i want to know if i can replace my current Winbase.h file with a simple copy past of content of this site ? or there is a better method please ?
Bye.
Support for
CONDITION_VARIABLE
was added in Windows Vista. You are using an older version of the Windows SDK ifCONDITION_VARIABLE
is not declared in the headers. Do not modify the SDK headers. You will need to obtain a recent version of the SDK (e.g. the Windows 8 SDK).