mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-08 22:07:56 +00:00
linux: fix missing dirname include
This commit is contained in:
parent
5dd2534df9
commit
09c3ac6b4b
2
compat.h
2
compat.h
@ -69,6 +69,8 @@ static __inline char * dirname(char *file) {
|
||||
# define _ALIGN(x) __declspec(align(x))
|
||||
#else
|
||||
# define _ALIGN(x) __attribute__ ((aligned(x)))
|
||||
/* dirname() for linux/mingw */
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
|
3
nvml.cpp
3
nvml.cpp
@ -18,9 +18,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifndef _MSC_VER
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
|
||||
#include "miner.h"
|
||||
#include "nvml.h"
|
||||
|
@ -397,8 +397,8 @@ void quark_bmw512_gpu_hash_80(uint32_t threads, uint32_t startNounce, uint64_t *
|
||||
{ 0xACADAEAFUL, 0xA8A9AAABUL },
|
||||
{ 0xB4B5B6B7UL, 0xB0B1B2B3UL },
|
||||
{ 0xBCBDBEBFUL, 0xB8B9BABBUL },
|
||||
{ 0xC4C5C6C7UL, 0xC0C1C2C3UL, },
|
||||
{ 0xCCCDCECFUL, 0xC8C9CACBUL, },
|
||||
{ 0xC4C5C6C7UL, 0xC0C1C2C3UL },
|
||||
{ 0xCCCDCECFUL, 0xC8C9CACBUL },
|
||||
{ 0xD4D5D6D7UL, 0xD0D1D2D3UL },
|
||||
{ 0xDCDDDEDFUL, 0xD8D9DADBUL },
|
||||
{ 0xE4E5E6E7UL, 0xE0E1E2E3UL },
|
||||
|
Loading…
Reference in New Issue
Block a user