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

Side by Side Diff: src/d8.cc

Issue 21053002: Fix d8 build error when V8_SHARED is unset on Linux. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #ifndef V8_SHARED 61 #ifndef V8_SHARED
62 #include "api.h" 62 #include "api.h"
63 #include "checks.h" 63 #include "checks.h"
64 #include "d8-debug.h" 64 #include "d8-debug.h"
65 #include "debug.h" 65 #include "debug.h"
66 #include "natives.h" 66 #include "natives.h"
67 #include "platform.h" 67 #include "platform.h"
68 #include "v8.h" 68 #include "v8.h"
69 #endif // V8_SHARED 69 #endif // V8_SHARED
70 70
71 #if V8_OS_UNIX 71 #if !defined(_WIN32) && !defined(_WIN64)
Sven Panne 2013/07/29 11:05:39 I don't think this is actually correct for compila
72 #include <unistd.h> // NOLINT 72 #include <unistd.h> // NOLINT
73 #endif 73 #endif
74 74
75 #ifndef ASSERT 75 #ifndef ASSERT
76 #define ASSERT(condition) assert(condition) 76 #define ASSERT(condition) assert(condition)
77 #endif 77 #endif
78 78
79 namespace v8 { 79 namespace v8 {
80 80
81 81
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 } 1647 }
1648 1648
1649 } // namespace v8 1649 } // namespace v8
1650 1650
1651 1651
1652 #ifndef GOOGLE3 1652 #ifndef GOOGLE3
1653 int main(int argc, char* argv[]) { 1653 int main(int argc, char* argv[]) {
1654 return v8::Shell::Main(argc, argv); 1654 return v8::Shell::Main(argc, argv);
1655 } 1655 }
1656 #endif 1656 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698