commit | 8917aca09469d45a4c0c6fe58b36a8eb5b572836 | [log] [tgz] |
---|---|---|
author | Steve Lhomme <robux4@ycbcr.xyz> | Mon Apr 27 16:30:57 2020 +0200 |
committer | Martin Storsjö <martin@martin.st> | Wed May 06 14:36:42 2020 +0300 |
tree | f0206685a158a50339e3e8b8506c370349b209e5 | |
parent | 0d73fc5345344d81045aea9fcadbfe3135b9fdb3 [diff] |
crt: use GetEnvironmentVariableW in getopt The API is available since Windows XP and available in UWP for win8 and win10. This avoids relying on getenv() from winstorecompat that returns NULL and can't be reimplemented in a clean way. Signed-off-by: Martin Storsjö <martin@martin.st>