| OLD | NEW |
| 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 Loading... |
| 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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 char name_[kMaxThreadNameLength]; | 612 char name_[kMaxThreadNameLength]; |
| 609 int stack_size_; | 613 int stack_size_; |
| 610 Semaphore* start_semaphore_; | 614 Semaphore* start_semaphore_; |
| 611 | 615 |
| 612 DISALLOW_COPY_AND_ASSIGN(Thread); | 616 DISALLOW_COPY_AND_ASSIGN(Thread); |
| 613 }; | 617 }; |
| 614 | 618 |
| 615 } } // namespace v8::internal | 619 } } // namespace v8::internal |
| 616 | 620 |
| 617 #endif // V8_PLATFORM_H_ | 621 #endif // V8_PLATFORM_H_ |
| OLD | NEW |