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

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

Issue 11190066: [NaCl SDK] nacl-mounts example. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows Created 8 years, 1 month 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
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__. 6 #include <sys/types.h> // Include something that will define __GLIBC__.
7 #include "utils/macros.h"
8
9 FORCE_LINK_THIS(kernel_wrap)
7 10
8 #if defined(__native_client__) 11 #if defined(__native_client__)
9 # if defined(__GLIBC__) 12 # if defined(__GLIBC__)
10 # include "kernel_wrap_glibc.cc" 13 # include "kernel_wrap_glibc.cc"
11 # else // !__GLIBC__ 14 # else // !__GLIBC__
12 # include "kernel_wrap_newlib.cc" 15 # include "kernel_wrap_newlib.cc"
13 # endif 16 # endif
14 #elif defined(WIN32) 17 #elif defined(WIN32)
15 # include "kernel_wrap_win.cc" 18 # include "kernel_wrap_win.cc"
16 #else 19 #else
17 # error Kernel wrapping not supported on your platform! 20 # error Kernel wrapping not supported on your platform!
18 #endif 21 #endif
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/kernel_intercept.cc ('k') | native_client_sdk/src/libraries/utils/macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698