@ -53,7 +53,7 @@
# include <sys/vmmeter.h>
# include <sys/vmmeter.h>
# endif
# endif
# endif
# endif
# if def __linux__
# if defined(HAVE_STRONG_GETAUXVAL) || defined(HAVE_WEAK_GETAUXVAL)
# include <sys/auxv.h>
# include <sys/auxv.h>
# endif
# endif
@ -326,7 +326,7 @@ void RandAddStaticEnv(CSHA512& hasher)
// Bitcoin client version
// Bitcoin client version
hasher < < CLIENT_VERSION ;
hasher < < CLIENT_VERSION ;
# if def __linux__
# if defined(HAVE_STRONG_GETAUXVAL) || defined(HAVE_WEAK_GETAUXVAL)
// Information available through getauxval()
// Information available through getauxval()
# ifdef AT_HWCAP
# ifdef AT_HWCAP
hasher < < getauxval ( AT_HWCAP ) ;
hasher < < getauxval ( AT_HWCAP ) ;
@ -346,7 +346,7 @@ void RandAddStaticEnv(CSHA512& hasher)
const char * exec_str = ( const char * ) getauxval ( AT_EXECFN ) ;
const char * exec_str = ( const char * ) getauxval ( AT_EXECFN ) ;
if ( exec_str ) hasher . Write ( ( const unsigned char * ) exec_str , strlen ( exec_str ) + 1 ) ;
if ( exec_str ) hasher . Write ( ( const unsigned char * ) exec_str , strlen ( exec_str ) + 1 ) ;
# endif
# endif
# endif // __linux__
# endif // HAVE_STRONG_GETAUXVAL || HAVE_WEAK_GETAUXVAL
# ifdef HAVE_GETCPUID
# ifdef HAVE_GETCPUID
AddAllCPUID ( hasher ) ;
AddAllCPUID ( hasher ) ;