Files
pkgsrc-ng/www/webkit1-gtk/patches/patch-Source_WTF_wtf_RefCountedLeakCounter.h
2016-01-21 23:40:00 +01:00

18 lines
496 B
C++

$NetBSD: patch-Source_WTF_wtf_RefCountedLeakCounter.h,v 1.1 2014/08/03 22:07:39 wiz Exp $
--- Source/WTF/wtf/RefCountedLeakCounter.h.orig 2013-05-08 07:48:32.000000000 +0000
+++ Source/WTF/wtf/RefCountedLeakCounter.h
@@ -38,11 +38,7 @@ namespace WTF {
#ifndef NDEBUG
private:
-#if COMPILER(MINGW) || COMPILER(MSVC7_OR_LOWER) || OS(WINCE)
- int m_count;
-#else
- volatile int m_count;
-#endif
+ atomic_int m_count;
const char* m_description;
#endif
};