Unreviewed build fix after r146932.
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Apr 2013 18:10:18 +0000 (18:10 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 6 Apr 2013 18:10:18 +0000 (18:10 +0000)
* profiler/ProfilerDatabase.cpp:
(Profiler):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147842 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/profiler/ProfilerDatabase.cpp

index 417f2ec..990d314 100644 (file)
@@ -1,5 +1,12 @@
 2013-04-06  Patrick Gansterer  <paroga@webkit.org>
 
+        Unreviewed build fix after r146932.
+
+        * profiler/ProfilerDatabase.cpp:
+        (Profiler):
+
+2013-04-06  Patrick Gansterer  <paroga@webkit.org>
+
         Do not call getenv() on Windows CE where it does not exist.
 
         * runtime/JSGlobalData.cpp:
index 88214cd..921d8bf 100644 (file)
 
 namespace JSC { namespace Profiler {
 
+#if COMPILER(MINGW) || COMPILER(MSVC7_OR_LOWER) || OS(WINCE)
+static int databaseCounter;
+#else
 static volatile int databaseCounter;
+#endif
 static SpinLock registrationLock = SPINLOCK_INITIALIZER;
 static int didRegisterAtExit;
 static Database* firstDatabase;