tools: use _putenv_s() instead of setenv() on Windows.
authorJehan <jehan@girinstud.io>
Thu, 27 Jan 2022 16:39:49 +0000 (17:39 +0100)
committerJehan <jehan@girinstud.io>
Thu, 27 Jan 2022 16:39:49 +0000 (17:39 +0100)
commit8769953c4c0342f1250db01a1570cd69b71c9c71
treec87ce71e83560f71aac8bc1f450dd452f07fef1a
parent779f0be5c58ff625dfb29cbd5e83581b7d04b098
tools: use _putenv_s() instead of setenv() on Windows.

setenv() does not exist on Windows API, hence babl tools fail to build.
Fixing the issue by using an alternative Windows API.
tools/babl-benchmark.c
tools/babl-lut-verify.c
tools/babl-verify.c