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

Side by Side Diff: include/v8config.h

Issue 2931143002: Basic compilation on Fuchsia (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | src/base/platform/platform-posix.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8CONFIG_H_ 5 #ifndef V8CONFIG_H_
6 #define V8CONFIG_H_ 6 #define V8CONFIG_H_
7 7
8 // clang-format off 8 // clang-format off
9 9
10 // Platform headers for feature detection below. 10 // Platform headers for feature detection below.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 55
56 // ----------------------------------------------------------------------------- 56 // -----------------------------------------------------------------------------
57 // Operating system detection 57 // Operating system detection
58 // 58 //
59 // V8_OS_ANDROID - Android 59 // V8_OS_ANDROID - Android
60 // V8_OS_BSD - BSDish (Mac OS X, Net/Free/Open/DragonFlyBSD) 60 // V8_OS_BSD - BSDish (Mac OS X, Net/Free/Open/DragonFlyBSD)
61 // V8_OS_CYGWIN - Cygwin 61 // V8_OS_CYGWIN - Cygwin
62 // V8_OS_DRAGONFLYBSD - DragonFlyBSD 62 // V8_OS_DRAGONFLYBSD - DragonFlyBSD
63 // V8_OS_FREEBSD - FreeBSD 63 // V8_OS_FREEBSD - FreeBSD
64 // V8_OS_FUCHSIA - Fuchsia
64 // V8_OS_LINUX - Linux 65 // V8_OS_LINUX - Linux
65 // V8_OS_MACOSX - Mac OS X 66 // V8_OS_MACOSX - Mac OS X
66 // V8_OS_NETBSD - NetBSD 67 // V8_OS_NETBSD - NetBSD
67 // V8_OS_OPENBSD - OpenBSD 68 // V8_OS_OPENBSD - OpenBSD
68 // V8_OS_POSIX - POSIX compatible (mostly everything except Windows) 69 // V8_OS_POSIX - POSIX compatible (mostly everything except Windows)
69 // V8_OS_QNX - QNX Neutrino 70 // V8_OS_QNX - QNX Neutrino
70 // V8_OS_SOLARIS - Sun Solaris and OpenSolaris 71 // V8_OS_SOLARIS - Sun Solaris and OpenSolaris
71 // V8_OS_AIX - AIX 72 // V8_OS_AIX - AIX
72 // V8_OS_WIN - Microsoft Windows 73 // V8_OS_WIN - Microsoft Windows
73 74
(...skipping 14 matching lines...) Expand all
88 #elif defined(__sun) 89 #elif defined(__sun)
89 # define V8_OS_POSIX 1 90 # define V8_OS_POSIX 1
90 # define V8_OS_SOLARIS 1 91 # define V8_OS_SOLARIS 1
91 #elif defined(_AIX) 92 #elif defined(_AIX)
92 #define V8_OS_POSIX 1 93 #define V8_OS_POSIX 1
93 #define V8_OS_AIX 1 94 #define V8_OS_AIX 1
94 #elif defined(__FreeBSD__) 95 #elif defined(__FreeBSD__)
95 # define V8_OS_BSD 1 96 # define V8_OS_BSD 1
96 # define V8_OS_FREEBSD 1 97 # define V8_OS_FREEBSD 1
97 # define V8_OS_POSIX 1 98 # define V8_OS_POSIX 1
99 #elif defined(__Fuchsia__)
100 # define V8_OS_FUCHSIA 1
101 # define V8_OS_POSIX 1
98 #elif defined(__DragonFly__) 102 #elif defined(__DragonFly__)
99 # define V8_OS_BSD 1 103 # define V8_OS_BSD 1
100 # define V8_OS_DRAGONFLYBSD 1 104 # define V8_OS_DRAGONFLYBSD 1
101 # define V8_OS_POSIX 1 105 # define V8_OS_POSIX 1
102 #elif defined(__NetBSD__) 106 #elif defined(__NetBSD__)
103 # define V8_OS_BSD 1 107 # define V8_OS_BSD 1
104 # define V8_OS_NETBSD 1 108 # define V8_OS_NETBSD 1
105 # define V8_OS_POSIX 1 109 # define V8_OS_POSIX 1
106 #elif defined(__OpenBSD__) 110 #elif defined(__OpenBSD__)
107 # define V8_OS_BSD 1 111 # define V8_OS_BSD 1
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 // int foo() WARN_UNUSED_RESULT; 423 // int foo() WARN_UNUSED_RESULT;
420 #if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT 424 #if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
421 #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) 425 #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
422 #else 426 #else
423 #define V8_WARN_UNUSED_RESULT /* NOT SUPPORTED */ 427 #define V8_WARN_UNUSED_RESULT /* NOT SUPPORTED */
424 #endif 428 #endif
425 429
426 // clang-format on 430 // clang-format on
427 431
428 #endif // V8CONFIG_H_ 432 #endif // V8CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | src/base/platform/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698