unicode.h: fix include order on windows

shellapi.h must be included after windows.h; fixes:
/Windows Kits/10/Include/10.0.26100.0/um/shellapi.h|68 col 1| error:
unknown type name 'EXTERN_C'

when building using VS 2022 after:
44257cb8 apply clang-format

Bug: 433996651
Change-Id: I8f340cdaf6d6b315f1b7535710847db786599da1
This commit is contained in:
James Zern
2025-08-04 11:26:00 -07:00
parent 484991ce3f
commit db608edd71

View File

@@ -25,10 +25,12 @@
#include <fcntl.h>
#include <io.h>
#include <shellapi.h>
#include <wchar.h>
#include <windows.h>
// shellapi.h must be included after windows.h.
#include <shellapi.h>
// Create a wchar_t array containing Unicode parameters.
#define INIT_WARGV(ARGC, ARGV) \
int wargc; \