1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

Implement an older header fix for a label existing before the pthread_cleanup macro.

This commit is contained in:
Con Kolivas 2012-05-03 10:35:30 +10:00
parent 5081c1824a
commit d5d8c2cc5b

4
api.c
View File

@ -2454,6 +2454,10 @@ void api(int api_thr_id)
CLOSESOCKET(c); CLOSESOCKET(c);
} }
die: die:
/* Blank line fix for older compilers since pthread_cleanup_pop is a
* macro that gets confused by a label existing immediately before it
*/
;
pthread_cleanup_pop(true); pthread_cleanup_pop(true);
if (opt_debug) if (opt_debug)