Skip to content

Commit 68e378e

Browse files
committed
Workarounds for missing -municode support
1 parent 46a0788 commit 68e378e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

winsup/testsuite/mingw/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ cygload_LDFLAGS=-static -Wl,-e,cygloadCRTStartup
2727

2828
winchild_SOURCES = \
2929
../winsup.api/posix_spawn/winchild.c
30+
if TARGET_X86_64
3031
winchild_LDFLAGS=-municode
32+
endif
3133
winchild_LDADD=-lntdll

winsup/testsuite/winsup.api/posix_spawn/winchild.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,18 @@
33
#include <winternl.h>
44
#include <ctype.h>
55
#include <stdio.h>
6+
#include <stdlib.h>
67

8+
#if defined(__aarch64__)
9+
int WinMain(
10+
HINSTANCE hInstance,
11+
HINSTANCE hPrevInstance,
12+
LPSTR lpCmdLine,
13+
int nShowCmd
14+
) {
15+
16+
}
17+
#endif
718

819
int wmain (int argc, wchar_t **argv)
920
{

0 commit comments

Comments
 (0)