| OLD | NEW |
| 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 */ | |
| 5 | 4 |
| 6 // The entire file is wrapped in this #if. We do this so this .cc file can be | 5 // The entire file is wrapped in this #if. We do this so this .cc file can be |
| 7 // compiled, even on a non-Windows build. | 6 // compiled, even on a non-Windows build. |
| 8 #if defined(WIN32) | 7 #if defined(WIN32) |
| 9 | 8 |
| 10 #include "nacl_io/kernel_wrap.h" | 9 #include "nacl_io/kernel_wrap.h" |
| 11 #include <errno.h> | 10 #include <errno.h> |
| 12 #include <fcntl.h> | 11 #include <fcntl.h> |
| 13 #include <stdarg.h> | 12 #include <stdarg.h> |
| 14 #include <string.h> | 13 #include <string.h> |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 return 0; | 307 return 0; |
| 309 } | 308 } |
| 310 | 309 |
| 311 // Do nothing for Windows, we replace the library at link time. | 310 // Do nothing for Windows, we replace the library at link time. |
| 312 void kernel_wrap_init() { | 311 void kernel_wrap_init() { |
| 313 } | 312 } |
| 314 EXTERN_C_END | 313 EXTERN_C_END |
| 315 | 314 |
| 316 #endif // defined(WIN32) | 315 #endif // defined(WIN32) |
| 317 | 316 |
| OLD | NEW |