Henri Verbeet hverbeet@gmail.com writes:
On Tue, 22 Feb 2022 at 20:00, Alexandre Julliard julliard@winehq.org wrote:
diff --git a/demos/gears.c b/demos/gears.c index 2045b3cdd842..9ed87b1084cf 100644 --- a/demos/gears.c +++ b/demos/gears.c @@ -877,7 +877,7 @@ static int cxg_main(void) return EXIT_SUCCESS; }
-#ifdef _WIN32 +#if defined(_WIN32) && defined(_UNICODE) int wmain(void) #else int main(void)
Shouldn't that check for "defined(UNICODE)" instead? As-is, this breaks "make crosstest":
Actually, is there a reason we are using -municode for crosstests?