mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley
This commit is contained in:
parent
86227c89ab
commit
2a9fde8d7d
@ -56,7 +56,7 @@
|
||||
#include "nsXPCOM.h"
|
||||
#include "nsXPCOMPrivate.h"
|
||||
#include "test_quota.h"
|
||||
#include "xpcprivate.h"
|
||||
#include "xpcpublic.h"
|
||||
|
||||
#include "AsyncConnectionHelper.h"
|
||||
#include "CheckQuotaHelper.h"
|
||||
|
@ -3657,8 +3657,6 @@ private:
|
||||
/**************************************************************/
|
||||
// All of our thread local storage.
|
||||
|
||||
#define BAD_TLS_INDEX ((PRUint32) -1)
|
||||
|
||||
class XPCPerThreadData
|
||||
{
|
||||
typedef mozilla::Mutex Mutex;
|
||||
|
@ -56,6 +56,10 @@
|
||||
class nsIPrincipal;
|
||||
struct nsDOMClassInfoData;
|
||||
|
||||
#ifndef BAD_TLS_INDEX
|
||||
#define BAD_TLS_INDEX ((PRUint32) -1)
|
||||
#endif
|
||||
|
||||
nsresult
|
||||
xpc_CreateGlobalObject(JSContext *cx, JSClass *clasp,
|
||||
nsIPrincipal *principal, nsISupports *ptr,
|
||||
|
Loading…
Reference in New Issue
Block a user