From: Vasiljevic Z. <zv...@ar...> - 2007-10-03 09:49:55
|
I have trouble compiling this on Sun Solaris: bash-2.03$ grep PRIxPTR nsthread/* nsthread/nsthreadtest.c: printf("pthread[%" PRIxPTR "]: log: %" PRIdPTR"\n", (uintptr_t) pthread_self(), i); nsthread/nsthreadtest.c: printf("pthread: create %" PRIdPTR " = %" PRIxPTR "\n", i, (uintptr_t) tids[i]); nsthread/thread.c: snprintf(name, sizeof(name), "-thread:%" PRIxPTR "-", thrPtr->tid); nsthread/thread.c: snprintf(buf, sizeof(buf), " %" PRIxPTR " %d % jd", What is PRIxPTR and where is this defined? Cheers Zoran |