Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index 0ae1ecf452bbcf9c1b9ba240f89eb37825e0cf0e..6d97ed7e3ef091a355c171432134ed4cdfdf9f7d 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -107,6 +107,12 @@ int OS::ActivationFrameAlignment() { |
} |
+void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) { |
+ __asm__ __volatile__("" : : : "memory"); |
+ *ptr = value; |
+} |
+ |
+ |
const char* OS::LocalTimezone(double time) { |
if (isnan(time)) return ""; |
time_t tv = static_cast<time_t>(floor(time/msPerSecond)); |