*** ./nspr/pr/src/pthreads/ptthread.c.ORIG Fri Dec 2 16:26:53 2016 --- ./nspr/pr/src/pthreads/ptthread.c Fri Dec 2 16:27:39 2016 *************** *** 1733,1738 **** --- 1733,1743 ---- #endif /* !defined(_PR_DCETHREADS) */ + #ifndef RTLD_DEFAULT + #define RTLD_DEFAULT ((void *)(-1)) /* start dlsym() symbol search from + the executable module. */ + #endif + PR_IMPLEMENT(PRStatus) PR_SetCurrentThreadName(const char *name) { PRThread *thread;