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

Unified Diff: native_client_sdk/src/libraries/gtest/nacl_gtest_dummy_sys.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/gtest_ppapi/gtest_module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/gtest/nacl_gtest_dummy_sys.cc
diff --git a/native_client_sdk/src/libraries/gtest/nacl_gtest_dummy_sys.cc b/native_client_sdk/src/libraries/gtest/nacl_gtest_dummy_sys.cc
index ef7cf61f10dd0607c41bb9c04203695d84e0fce3..015ad094b5c4e9ea956c29eb23dd2fc3654c0400 100644
--- a/native_client_sdk/src/libraries/gtest/nacl_gtest_dummy_sys.cc
+++ b/native_client_sdk/src/libraries/gtest/nacl_gtest_dummy_sys.cc
@@ -12,6 +12,10 @@ extern "C" {
#if defined(__native_client__)
+char* getcwd(char* buf, size_t size) __attribute__ ((weak));
+int unlink(const char* pathname) __attribute__ ((weak));
+int mkdir(const char* pathname, mode_t mode) __attribute__ ((weak));
+
char* getcwd(char* buf, size_t size) {
if (size < 2) {
errno = ERANGE;
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/gtest_ppapi/gtest_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698