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

Side by Side Diff: src/platform.h

Issue 2084017: Version 2.2.11... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « src/objects-inl.h ('k') | src/platform-solaris.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 int strncasecmp(const char* s1, const char* s2, int n); 77 int strncasecmp(const char* s1, const char* s2, int n);
78 78
79 #endif // _MSC_VER 79 #endif // _MSC_VER
80 80
81 // Random is missing on both Visual Studio and MinGW. 81 // Random is missing on both Visual Studio and MinGW.
82 int random(); 82 int random();
83 83
84 #endif // WIN32 84 #endif // WIN32
85 85
86
87 #ifdef __sun
88 # ifndef signbit
89 int signbit(double x);
90 # endif
91 #endif
92
93
86 // GCC specific stuff 94 // GCC specific stuff
87 #ifdef __GNUC__ 95 #ifdef __GNUC__
88 96
89 // Needed for va_list on at least MinGW and Android. 97 // Needed for va_list on at least MinGW and Android.
90 #include <stdarg.h> 98 #include <stdarg.h>
91 99
92 #define __GNUC_VERSION__ (__GNUC__ * 10000 + __GNUC_MINOR__ * 100) 100 #define __GNUC_VERSION__ (__GNUC__ * 10000 + __GNUC_MINOR__ * 100)
93 101
94 // Unfortunately, the INFINITY macro cannot be used with the '-pedantic' 102 // Unfortunately, the INFINITY macro cannot be used with the '-pedantic'
95 // warning flag and certain versions of GCC due to a bug: 103 // warning flag and certain versions of GCC due to a bug:
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 bool active_; 566 bool active_;
559 PlatformData* data_; // Platform specific data. 567 PlatformData* data_; // Platform specific data.
560 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); 568 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
561 }; 569 };
562 570
563 #endif // ENABLE_LOGGING_AND_PROFILING 571 #endif // ENABLE_LOGGING_AND_PROFILING
564 572
565 } } // namespace v8::internal 573 } } // namespace v8::internal
566 574
567 #endif // V8_PLATFORM_H_ 575 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/platform-solaris.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698