Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Side by Side Diff: src/platform.h

Issue 61153009: Add support for the QNX operating system. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "v8globals.h" 52 #include "v8globals.h"
53 53
54 #ifdef __sun 54 #ifdef __sun
55 # ifndef signbit 55 # ifndef signbit
56 namespace std { 56 namespace std {
57 int signbit(double x); 57 int signbit(double x);
58 } 58 }
59 # endif 59 # endif
60 #endif 60 #endif
61 61
62 #if V8_OS_QNX
63 #include "qnx-math.h"
64 #endif
65
62 // Microsoft Visual C++ specific stuff. 66 // Microsoft Visual C++ specific stuff.
63 #if V8_CC_MSVC 67 #if V8_CC_MSVC
64 68
65 #include "win32-headers.h" 69 #include "win32-headers.h"
66 #include "win32-math.h" 70 #include "win32-math.h"
67 71
68 int strncasecmp(const char* s1, const char* s2, int n); 72 int strncasecmp(const char* s1, const char* s2, int n);
69 73
70 // Visual C++ 2013 and higher implement this function. 74 // Visual C++ 2013 and higher implement this function.
71 #if (_MSC_VER < 1800) 75 #if (_MSC_VER < 1800)
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 char name_[kMaxThreadNameLength]; 596 char name_[kMaxThreadNameLength];
593 int stack_size_; 597 int stack_size_;
594 Semaphore* start_semaphore_; 598 Semaphore* start_semaphore_;
595 599
596 DISALLOW_COPY_AND_ASSIGN(Thread); 600 DISALLOW_COPY_AND_ASSIGN(Thread);
597 }; 601 };
598 602
599 } } // namespace v8::internal 603 } } // namespace v8::internal
600 604
601 #endif // V8_PLATFORM_H_ 605 #endif // V8_PLATFORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698