summaryrefslogtreecommitdiff
path: root/memory/volatile/VolatileBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'memory/volatile/VolatileBuffer.h')
-rw-r--r--memory/volatile/VolatileBuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/memory/volatile/VolatileBuffer.h b/memory/volatile/VolatileBuffer.h
index 19aeb9df2b..b6bcdfcb74 100644
--- a/memory/volatile/VolatileBuffer.h
+++ b/memory/volatile/VolatileBuffer.h
@@ -76,7 +76,9 @@ private:
void* mBuf;
size_t mSize;
int mLockCount;
-#if defined(XP_WIN)
+#ifdef XP_DARWIN
+ bool mHeap;
+#elif defined(XP_WIN)
bool mHeap;
bool mFirstLock;
#endif