Skip to content

Commit

Permalink
[V8] Update QNX platform port so that it builds once again
Browse files Browse the repository at this point in the history
Change-Id: I2802faac0d9e72f5db4a64935f4dae91319ff786
Reviewed-by: Sean Harmer <[email protected]>
Reviewed-by: Kent Hansen <[email protected]>
  • Loading branch information
Sean Harmer authored and Qt by Nokia committed Jun 13, 2012
1 parent 604daa4 commit dd3e063
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/3rdparty/v8/src/platform-qnx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ double ceiling(double x) {
static Mutex* limit_mutex = NULL;


void OS::Setup() {
void OS::SetUp() {
// Seed the random number generator. We preserve microsecond resolution.
uint64_t seed = Ticks() ^ (getpid() << 16);
srandom(static_cast<unsigned int>(seed));
Expand Down Expand Up @@ -625,14 +625,8 @@ class Thread::PlatformData : public Malloced {

Thread::Thread(const Options& options)
: data_(new PlatformData()),
stack_size_(options.stack_size) {
set_name(options.name);
}

Thread::Thread(const char* name)
: data_(new PlatformData()),
stack_size_(0) {
set_name(name);
stack_size_(options.stack_size()) {
set_name(options.name());
}


Expand Down

0 comments on commit dd3e063

Please sign in to comment.