On Do, 2009-02-05 at 18:02 +0100, Christoph Korn wrote:
int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show) {
- if(getenv("WINE_NO_MENU_ENTRIES"))
- {
return 0;
- }
- LPSTR token = NULL, p;
Declaring a variable after code is C99 and not allowed in Wine.
Thank you.
I have fixed it and resent the patch to wine-patches.
Also I have shortened the environment variable to WINENME.
Christoph Korn
Detlef Riekenberg schrieb:
On Do, 2009-02-05 at 18:02 +0100, Christoph Korn wrote:
int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show) {
- if(getenv("WINE_NO_MENU_ENTRIES"))
- {
return 0;
- }
- LPSTR token = NULL, p;
Declaring a variable after code is C99 and not allowed in Wine.