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:
parent
5081c1824a
commit
d5d8c2cc5b
4
api.c
4
api.c
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user