Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
d5d8c2cc5b
  1. 4
      api.c

4
api.c

@ -2454,6 +2454,10 @@ void api(int api_thr_id) @@ -2454,6 +2454,10 @@ void api(int api_thr_id)
CLOSESOCKET(c);
}
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);
if (opt_debug)

Loading…
Cancel
Save