diff --git a/README.md b/README.md index c607ae2..efd267c 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ legend: * FreeBSD * OpenBSD * NetBSD -* Solaris +* Solaris 11 * Windows * Apple Mac OS X and iOS * Android diff --git a/src/main/main.c b/src/main/main.c index 3c25ffe..762b0b4 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -155,11 +155,7 @@ static struct re global_re = { static void poll_close(struct re *re); -#ifdef SOLARIS -static pthread_once_t pt_once = {PTHREAD_ONCE_INIT}; -#else static pthread_once_t pt_once = PTHREAD_ONCE_INIT; -#endif static pthread_key_t pt_key;