Skip to content
Snippets Groups Projects
Commit f6b310dc authored by fireice-uk's avatar fireice-uk
Browse files

Merge branch 'topic-large-pages-win' of https://github.com/fireice-uk/xmr-stak...

Merge branch 'topic-large-pages-win' of https://github.com/fireice-uk/xmr-stak into topic-large-pages-win
parents d8d403b2 f9bbdd50
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,8 @@ void do_skein_hash(const void* input, size_t len, char* output) {
void (* const extra_hashes[4])(const void *, size_t, char *) = {do_blake_hash, do_groestl_hash, do_jh_hash, do_skein_hash};
#ifdef _WIN32
BOOL bRebootDesirable = FALSE; //If VirtualAlloc fails, suggest a reboot
BOOL AddPrivilege(TCHAR* pszPrivilege)
{
HANDLE hToken;
......@@ -164,7 +166,6 @@ BOOL AddLargePageRights()
}
#endif
BOOL bRebootDesirable = FALSE; //If VirtualAlloc fails, suggest a reboot
size_t cryptonight_init(size_t use_fast_mem, size_t use_mlock, alloc_msg* msg)
{
#ifdef _WIN32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment