Possible fix for non-MSVC windows compilers
authorRan Benita <ran@unusedvar.com>
Tue, 11 Apr 2023 20:24:47 +0000 (23:24 +0300)
committerRan Benita <ran@unusedvar.com>
Tue, 11 Apr 2023 20:29:25 +0000 (23:29 +0300)
commitbd79a960f596574e9c2ea59347f9afac469ef532
tree77a5c458c1d2ce7d07a404a69f7575caad5196ed
parent13d4b7f6417795b9ec634a766d0bf6afbf82c946
Possible fix for non-MSVC windows compilers

`_MSC_VER` is specific to MSVC, but there can be other compilers targeting
windows. Hopefully they do define `_WIN32`, so let's use that.

Refs: https://github.com/xkbcommon/libxkbcommon/issues/305
Signed-off-by: Ran Benita <ran@unusedvar.com>
bench/bench.c
src/utils.h
test/common.c
test/test.h
tools/tools-common.c
tools/tools-common.h