mirror of
https://github.com/NixOS/nix
synced 2025-07-04 15:31:47 +02:00
Wrap thread local in function for Cygwin
Fixes #1826. See #1352 for a previous instance of a similar change.
This commit is contained in:
parent
24b739817f
commit
be54f4a0b6
3 changed files with 17 additions and 7 deletions
|
@ -22,7 +22,7 @@ struct DownloadRequest
|
|||
std::string mimeType;
|
||||
|
||||
DownloadRequest(const std::string & uri)
|
||||
: uri(uri), parentAct(curActivity) { }
|
||||
: uri(uri), parentAct(getCurActivity()) { }
|
||||
};
|
||||
|
||||
struct DownloadResult
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue