This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32: use GetTempPath for g_tmp_dir
%TMPDIR%, %TMP%, %TEMP% and get_windows_directory_root() were checked in that order. However, on both XP an 7 %TMPDIR% does not exist. Also, this behavior does not correspond with GetTempPath() which returns one of %TMP%, %TEMP%, %USERPROFILE% or the Windows directory (not the same as get_windows_directory_root()!), checked in that order. So simply use GetTempPath() instead.
- Loading branch information