mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-10 14:57:53 +00:00
cuda_helper: define UINT32_MAX if not defined
seems not defined on slackware...
This commit is contained in:
parent
2f541065fb
commit
7bf256c81c
@ -13,6 +13,11 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef UINT32_MAX
|
||||
/* slackware need that */
|
||||
#define UINT32_MAX UINT_MAX
|
||||
#endif
|
||||
|
||||
#ifndef MAX_GPUS
|
||||
#define MAX_GPUS 16
|
||||
#endif
|
||||
|
@ -23,10 +23,6 @@
|
||||
|
||||
#include "cuda_helper.h"
|
||||
|
||||
#ifndef UINT32_MAX
|
||||
#define UINT32_MAX UINT_MAX
|
||||
#endif
|
||||
|
||||
typedef unsigned char BitSequence;
|
||||
|
||||
__constant__ uint64_t c_PaddedMessage80[16]; // padded message (80 bytes + padding)
|
||||
|
Loading…
Reference in New Issue
Block a user