Build on Solaris 11 fixed.

This commit is contained in:
Max Romanov
2017-06-26 19:58:43 +03:00
parent 9399a04121
commit b53b7b0413
7 changed files with 55 additions and 7 deletions

View File

@@ -16,7 +16,8 @@
#if (NXT_DEBUG)
#define nxt_go_debug(fmt, ARGS...) \
fprintf(stdout, "go debug[%p]: " fmt "\n", (void *) pthread_self(), ##ARGS)
fprintf(stdout, "go debug[%p]: " fmt "\n", \
(void *) (intptr_t) pthread_self(), ##ARGS)
#else