1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Merge branch 'old_gcc'

This commit is contained in:
Paul Sheppard 2012-06-28 18:35:32 -07:00
commit 3be662a270

View File

@ -159,6 +159,10 @@ void *alloca (size_t);
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#endif
#ifndef roundl
#define roundl(x) (long double)((long long)((x==0)?0.0:((x)+((x)>0)?0.5:-0.5)))
#endif
enum alive {
LIFE_WELL,
LIFE_SICK,