mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-20 06:08:37 +02:00
update rot files
- add config file editor - move telemetry out of minethd
This commit is contained in:
+16
@@ -26,6 +26,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <cstdlib>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
@@ -211,3 +212,18 @@ void printer::print_str(const char* str)
|
||||
fflush(logfile);
|
||||
}
|
||||
}
|
||||
|
||||
//Do a press any key for the windows folk. *insert any key joke here*
|
||||
#ifdef _WIN32
|
||||
void win_exit()
|
||||
{
|
||||
printer::inst()->print_str("Press any key to exit.");
|
||||
get_key();
|
||||
std::exit(1);
|
||||
}
|
||||
|
||||
#else
|
||||
void win_exit() {
|
||||
std::exit(1);
|
||||
}
|
||||
#endif // _WIN32
|
||||
|
||||
Reference in New Issue
Block a user