Enabled netlib lock when NS_MT_SUPPORTED is defined
git-svn-id: svn://10.0.0.236/trunk@10490 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#endif
|
||||
#endif /* NSPR20 */
|
||||
|
||||
#if defined(JAVA)
|
||||
#if defined(JAVA) || defined(NS_MT_SUPPORTED)
|
||||
|
||||
XP_BEGIN_PROTOS
|
||||
extern PRMonitor* libnet_asyncIO;
|
||||
@@ -43,7 +43,7 @@ XP_END_PROTOS
|
||||
#define LIBNET_UNLOCK() PR_ExitMonitor(libnet_asyncIO)
|
||||
#define LIBNET_IS_LOCKED() PR_InMonitor(libnet_asyncIO)
|
||||
|
||||
#else /* !JAVA */
|
||||
#else /* !JAVA && !NS_MT_SUPPORTED*/
|
||||
|
||||
#define LIBNET_LOCK()
|
||||
#define LIBNET_UNLOCK()
|
||||
|
||||
Reference in New Issue
Block a user