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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_handle.cc

Issue 17234004: [NaCl SDK] Fix SDK waterfall: unistd.h does not exist on windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: native_client_sdk/src/libraries/nacl_io/kernel_handle.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc b/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc
index a943894595e1904e393ffe0e4162480c459272bb..74bee816ead88dba3f570d46c507e878b8463d3a 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc
@@ -8,13 +8,9 @@
#include <fcntl.h>
#include <pthread.h>
-#ifndef WIN32
-// Needed for SEEK_SET/SEEK_CUR/SEEK_END.
-#include <unistd.h>
-#endif
-
#include "nacl_io/mount.h"
#include "nacl_io/mount_node.h"
+#include "nacl_io/osunistd.h"
// It is only legal to construct a handle while the kernel lock is held.
KernelHandle::KernelHandle(Mount* mnt, MountNode* node)
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_files.list ('k') | native_client_sdk/src/libraries/nacl_io/library.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698