Skip to content

Commit

Permalink
Fix Solaris V8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 27, 2010
1 parent d89de07 commit 31854c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deps/v8/src/platform-solaris.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 31854c7

Please sign in to comment.