1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 14:28:12 +00:00

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

This commit is contained in:
Ycros 2011-06-25 08:18:29 +10:00 committed by Con Kolivas
parent b645cc9f00
commit 9fe2106467
7 changed files with 8 additions and 7 deletions

View File

@ -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>

View File

@ -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

View File

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

View File

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

View File

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

View File

@ -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
View File

@ -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);