This reverts commit 336dbd5c985bc30e60d6694df0254084e613b3dc. Conflicts: miner.h
@@ -195,6 +195,10 @@ void *alloca (size_t);
# endif
#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,