mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Tools, daemonizer: fix building on Windows
This commit is contained in:
parent
dc6a8014bd
commit
fdf0acbf97
2 changed files with 7 additions and 2 deletions
|
@ -39,6 +39,11 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include "windows.h"
|
||||||
|
#include "misc_log_ex.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "crypto/hash.h"
|
#include "crypto/hash.h"
|
||||||
|
|
||||||
/*! \brief Various Tools
|
/*! \brief Various Tools
|
||||||
|
|
|
@ -111,9 +111,9 @@ namespace daemonizer
|
||||||
{
|
{
|
||||||
if (command_line::has_arg(vm, arg_is_service))
|
if (command_line::has_arg(vm, arg_is_service))
|
||||||
{
|
{
|
||||||
if (command_line::has_arg(vm, command_line::arg_data_dir))
|
if (command_line::has_arg(vm, cryptonote::arg_data_dir))
|
||||||
{
|
{
|
||||||
return command_line::get_arg(vm, command_line::arg_data_dir);
|
return command_line::get_arg(vm, cryptonote::arg_data_dir);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue