Bug 156633: the PR_CurrentThread nspr1.0 compatibility macro should be put
inside #ifndef NO_NSPR_10_SUPPORT.
This commit is contained in:
Родитель
4a7a9a7003
Коммит
60add3b422
|
@ -159,7 +159,9 @@ NSPR_API(PRStatus) PR_JoinThread(PRThread *thread);
|
||||||
** Never returns NULL.
|
** Never returns NULL.
|
||||||
*/
|
*/
|
||||||
NSPR_API(PRThread*) PR_GetCurrentThread(void);
|
NSPR_API(PRThread*) PR_GetCurrentThread(void);
|
||||||
|
#ifndef NO_NSPR_10_SUPPORT
|
||||||
#define PR_CurrentThread() PR_GetCurrentThread() /* for nspr1.0 compat. */
|
#define PR_CurrentThread() PR_GetCurrentThread() /* for nspr1.0 compat. */
|
||||||
|
#endif /* NO_NSPR_10_SUPPORT */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Get the priority of "thread".
|
** Get the priority of "thread".
|
||||||
|
|
Загрузка…
Ссылка в новой задаче