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

Unified 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, 12 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.cc
diff --git a/native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.cc b/native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.cc
index c3d058128a50af6deccc6a09981aa412316d2436..c3a77754a01950614f5b9decbb60318d473db2d9 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.cc
+++ b/native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.cc
@@ -3,19 +3,6 @@
* found in the LICENSE file.
*/
-#include <sys/types.h> // Include something that will define __GLIBC__.
#include "utils/macros.h"
FORCE_LINK_THIS(kernel_wrap)
-
-#if defined(__native_client__)
-# if defined(__GLIBC__)
-# include "kernel_wrap_glibc.cc"
-# else // !__GLIBC__
-# include "kernel_wrap_newlib.cc"
-# endif
-#elif defined(WIN32)
-# include "kernel_wrap_win.cc"
-#else
-# error Kernel wrapping not supported on your platform!
-#endif
« 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