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

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

Issue 11066105: [NaCl SDK] nacl_mounts: wrap functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 years, 2 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
OLDNEW
(Empty)
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
3 * found in the LICENSE file.
4 */
5
6 #include <sys/types.h> // Include something that will define __GLIBC__.
7
8 #if defined(__native_client__)
9 # if defined(__GLIBC__)
10 # include "kernel_wrap_glibc.cc"
11 # else // !__GLIBC__
12 # include "kernel_wrap_newlib.cc"
13 # endif
14 #elif defined(WIN32)
15 # include "kernel_wrap_win.cc"
16 #else
17 # error Kernel wrapping not supported on your platform!
18 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698