Fix Windows build.
This commit is contained in:
parent
568ceb189e
commit
06b18c4011
3 changed files with 8 additions and 9 deletions
|
|
@ -32,13 +32,16 @@ if (USE_PCH)
|
|||
include (cotire)
|
||||
endif(USE_PCH)
|
||||
|
||||
IF( NOT WIN32 )
|
||||
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/libraries/fc/CMakeModules" )
|
||||
ENDIF( NOT WIN32 )
|
||||
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/libraries/fc/GitVersionGen" )
|
||||
include( GetGitRevisionDescription )
|
||||
get_git_head_revision( GIT_REFSPEC GIT_SHA2 )
|
||||
|
||||
SET(BOOST_COMPONENTS)
|
||||
LIST(APPEND BOOST_COMPONENTS thread
|
||||
iostreams
|
||||
date_time
|
||||
system
|
||||
filesystem
|
||||
|
|
|
|||
|
|
@ -387,6 +387,6 @@ void database::notify_changed_objects()
|
|||
removed_objects(removed_ids, removed, removed_accounts_impacted);
|
||||
}
|
||||
}
|
||||
} FC_CAPTURE_AND_LOG( () ) }
|
||||
} FC_CAPTURE_AND_LOG( (0) ) }
|
||||
|
||||
} }
|
||||
|
|
@ -974,11 +974,7 @@ namespace graphene { namespace net { namespace detail {
|
|||
{
|
||||
throw;
|
||||
}
|
||||
catch (const fc::exception& e)
|
||||
{
|
||||
elog("${e}", ("e", e));
|
||||
}
|
||||
FC_CAPTURE_AND_LOG( () )
|
||||
FC_CAPTURE_AND_LOG( (0) )
|
||||
}// while(!canceled)
|
||||
}
|
||||
|
||||
|
|
@ -4193,7 +4189,7 @@ namespace graphene { namespace net { namespace detail {
|
|||
|
||||
// limit the rate at which we accept connections to mitigate DOS attacks
|
||||
fc::usleep( fc::milliseconds(10) );
|
||||
} FC_CAPTURE_AND_LOG( () )
|
||||
} FC_CAPTURE_AND_LOG( (0) )
|
||||
}
|
||||
} // accept_loop()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue