git/contrib/buildsystems
Yuyi Wang 5ec7110822 cmake: remove (_)UNICODE def on Windows in CMakeLists.txt
`UNICODE` and `_UNICODE` are not required when building git on Windows.
Actually, they should not be predefined at all.

There're 2 evidences that `(_)UNICODE` is supposed to be nonexist:

compat/win32/trace2_win32_process_info.c:83: It uses jw_array_string
which accepts pe32.szExeFile as const char*.

t/helper/test-drop-caches.c:16: Calling to GetCurrentDirectory with
Buffer as char*.

The autotools build system never defines `UNICODE` and `_UNICODE` and
builds on Windows well.

Signed-off-by: Yuyi Wang <Strawberry_Str@hotmail.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-05-24 16:06:02 -07:00
..
Generators reftable: utility functions 2021-10-08 10:45:48 -07:00
CMakeLists.txt cmake: remove (_)UNICODE def on Windows in CMakeLists.txt 2022-05-24 16:06:02 -07:00
engine.pl ci(vs-build): stop passing the iconv library location explicitly 2020-12-04 12:03:15 -08:00
generate mark Windows build scripts executable 2013-11-25 15:01:22 -08:00
Generators.pm contrib/buildsystems: ignore irrelevant files in Generators/ 2019-07-29 14:51:42 -07:00
parse.pl mark Windows build scripts executable 2013-11-25 15:01:22 -08:00