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

Side by Side Diff: native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.cc

Issue 11744010: [NaCl SDK] Change the kernel_wrap OS #ifdefs in nacl_mounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | native_client_sdk/src/libraries/nacl_mounts/kernel_wrap_glibc.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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium 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 5
6 #include <sys/types.h> // Include something that will define __GLIBC__.
7 #include "utils/macros.h" 6 #include "utils/macros.h"
8 7
9 FORCE_LINK_THIS(kernel_wrap) 8 FORCE_LINK_THIS(kernel_wrap)
10
11 #if defined(__native_client__)
12 # if defined(__GLIBC__)
13 # include "kernel_wrap_glibc.cc"
14 # else // !__GLIBC__
15 # include "kernel_wrap_newlib.cc"
16 # endif
17 #elif defined(WIN32)
18 # include "kernel_wrap_win.cc"
19 #else
20 # error Kernel wrapping not supported on your platform!
21 #endif
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_mounts/kernel_wrap_glibc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698