Browse Source

Fixed up using config.h instead of cpuminer-config.h.

nfactor-troky
Ycros 14 years ago committed by Con Kolivas
parent
commit
9fe2106467
  1. 2
      cpu-miner.c
  2. 2
      sha256_4way.c
  3. 2
      sha256_cryptopp.c
  4. 2
      sha256_generic.c
  5. 2
      sha256_sse2_amd64.c
  6. 2
      sha256_via.c
  7. 3
      util.c

2
cpu-miner.c

@ -9,7 +9,7 @@
* any later version. See COPYING for more details. * any later version. See COPYING for more details.
*/ */
#include "cpuminer-config.h" #include "config.h"
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>

2
sha256_4way.c

@ -4,7 +4,7 @@
// tcatm's 4-way 128-bit SSE2 SHA-256 // tcatm's 4-way 128-bit SSE2 SHA-256
#include "cpuminer-config.h" #include "config.h"
#include "miner.h" #include "miner.h"
#ifdef WANT_SSE2_4WAY #ifdef WANT_SSE2_4WAY

2
sha256_cryptopp.c

@ -1,5 +1,5 @@
#include "cpuminer-config.h" #include "config.h"
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>

2
sha256_generic.c

@ -18,7 +18,7 @@
* *
*/ */
#include "cpuminer-config.h" #include "config.h"
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>

2
sha256_sse2_amd64.c

@ -9,7 +9,7 @@
* *
*/ */
#include "cpuminer-config.h" #include "config.h"
#include "miner.h" #include "miner.h"

2
sha256_via.c

@ -1,5 +1,5 @@
#include "cpuminer-config.h" #include "config.h"
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

3
util.c

@ -9,7 +9,7 @@
*/ */
#define _GNU_SOURCE #define _GNU_SOURCE
#include "cpuminer-config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -93,6 +93,7 @@ void applog(int prio, const char *fmt, ...)
tm.tm_sec, tm.tm_sec,
fmt); fmt);
vfprintf(stderr, f, ap); /* atomic write to stderr */ vfprintf(stderr, f, ap); /* atomic write to stderr */
fflush(stderr);
} }
va_end(ap); va_end(ap);
fflush(stderr); fflush(stderr);

Loading…
Cancel
Save