Skip to content

Commit

Permalink
v3.9.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDDee committed Jun 4, 2019
1 parent 4d4386a commit 0a3c528
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for cpuminer-opt 3.9.2.1.
# Generated by GNU Autoconf 2.69 for cpuminer-opt 3.9.2.2.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -577,8 +577,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='cpuminer-opt'
PACKAGE_TARNAME='cpuminer-opt'
PACKAGE_VERSION='3.9.2.1'
PACKAGE_STRING='cpuminer-opt 3.9.2.1'
PACKAGE_VERSION='3.9.2.2'
PACKAGE_STRING='cpuminer-opt 3.9.2.2'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1332,7 +1332,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures cpuminer-opt 3.9.2.1 to adapt to many kinds of systems.
\`configure' configures cpuminer-opt 3.9.2.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1404,7 +1404,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of cpuminer-opt 3.9.2.1:";;
short | recursive ) echo "Configuration of cpuminer-opt 3.9.2.2:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1509,7 +1509,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
cpuminer-opt configure 3.9.2.1
cpuminer-opt configure 3.9.2.2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2012,7 +2012,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cpuminer-opt $as_me 3.9.2.1, which was
It was created by cpuminer-opt $as_me 3.9.2.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2993,7 +2993,7 @@ fi
# Define the identity of the package.
PACKAGE='cpuminer-opt'
VERSION='3.9.2.1'
VERSION='3.9.2.2'
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -6690,7 +6690,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by cpuminer-opt $as_me 3.9.2.1, which was
This file was extended by cpuminer-opt $as_me 3.9.2.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -6756,7 +6756,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
cpuminer-opt config.status 3.9.2.1
cpuminer-opt config.status 3.9.2.2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([cpuminer-opt], [3.9.2.1])
AC_INIT([cpuminer-opt], [3.9.2.2])

AC_PREREQ([2.59c])
AC_CANONICAL_SYSTEM
Expand Down
6 changes: 3 additions & 3 deletions cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ static void affine_to_cpu_mask( int id, unsigned long mask )
// DWORD last_error;

if ( id == -1 )
success = SetProcessAffinityMask( GetCurrentProcess(), &mask );
success = SetProcessAffinityMask( GetCurrentProcess(), (DWORD_PTR)&mask );

// Are Windows CPU Groups supported?
#if _WIN32_WINNT==0x0601
else if ( num_cpugroups == 1 )
success = SetThreadAffinityMask( GetCurrentThread(), &mask );
success = SetThreadAffinityMask( GetCurrentThread(), (DWORD_PTR)&mask );
else
{
// Find the correct cpu group
Expand All @@ -277,7 +277,7 @@ static void affine_to_cpu_mask( int id, unsigned long mask )
}
#else
else
success = SetThreadAffinityMask( GetCurrentThread(), &mask );
success = SetThreadAffinityMask( GetCurrentThread(), (DWORD_PTR)&mask );
#endif

if (!success)
Expand Down

0 comments on commit 0a3c528

Please sign in to comment.