From 9fe2106467ec08bb5bcb55c33b3db1b148aeb15e Mon Sep 17 00:00:00 2001 From: Ycros Date: Sat, 25 Jun 2011 08:18:29 +1000 Subject: [PATCH] Fixed up using config.h instead of cpuminer-config.h. --- cpu-miner.c | 2 +- sha256_4way.c | 2 +- sha256_cryptopp.c | 2 +- sha256_generic.c | 2 +- sha256_sse2_amd64.c | 2 +- sha256_via.c | 2 +- util.c | 3 ++- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/cpu-miner.c b/cpu-miner.c index d381defb..6168713f 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -9,7 +9,7 @@ * any later version. See COPYING for more details. */ -#include "cpuminer-config.h" +#include "config.h" #define _GNU_SOURCE #include diff --git a/sha256_4way.c b/sha256_4way.c index 82dd6caf..b13f86de 100644 --- a/sha256_4way.c +++ b/sha256_4way.c @@ -4,7 +4,7 @@ // tcatm's 4-way 128-bit SSE2 SHA-256 -#include "cpuminer-config.h" +#include "config.h" #include "miner.h" #ifdef WANT_SSE2_4WAY diff --git a/sha256_cryptopp.c b/sha256_cryptopp.c index c3eb29f9..4a8785e7 100644 --- a/sha256_cryptopp.c +++ b/sha256_cryptopp.c @@ -1,5 +1,5 @@ -#include "cpuminer-config.h" +#include "config.h" #include #include diff --git a/sha256_generic.c b/sha256_generic.c index 789b20e9..5d70b558 100644 --- a/sha256_generic.c +++ b/sha256_generic.c @@ -18,7 +18,7 @@ * */ -#include "cpuminer-config.h" +#include "config.h" #include #include diff --git a/sha256_sse2_amd64.c b/sha256_sse2_amd64.c index 3aa154c2..eb6ae8f4 100644 --- a/sha256_sse2_amd64.c +++ b/sha256_sse2_amd64.c @@ -9,7 +9,7 @@ * */ -#include "cpuminer-config.h" +#include "config.h" #include "miner.h" diff --git a/sha256_via.c b/sha256_via.c index 1f0596c2..aa72055d 100644 --- a/sha256_via.c +++ b/sha256_via.c @@ -1,5 +1,5 @@ -#include "cpuminer-config.h" +#include "config.h" #include #include diff --git a/util.c b/util.c index f7c8cc40..d4ac0bce 100644 --- a/util.c +++ b/util.c @@ -9,7 +9,7 @@ */ #define _GNU_SOURCE -#include "cpuminer-config.h" +#include "config.h" #include #include @@ -93,6 +93,7 @@ void applog(int prio, const char *fmt, ...) tm.tm_sec, fmt); vfprintf(stderr, f, ap); /* atomic write to stderr */ + fflush(stderr); } va_end(ap); fflush(stderr);