| 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 #include <sys/types.h> // Include something that will define __GLIBC__. | 5 #include <sys/types.h> // Include something that will define __GLIBC__. |
| 7 | 6 |
| 8 // The entire file is wrapped in this #if. We do this so this .cc file can be | 7 // The entire file is wrapped in this #if. We do this so this .cc file can be |
| 9 // compiled, even on a non-newlib build. | 8 // compiled, even on a non-newlib build. |
| 10 #if defined(__native_client__) && !defined(__GLIBC__) | 9 #if defined(__native_client__) && !defined(__GLIBC__) |
| 11 | 10 |
| 12 #include "nacl_io/kernel_wrap.h" | 11 #include "nacl_io/kernel_wrap.h" |
| 13 #include <dirent.h> | 12 #include <dirent.h> |
| 14 #include <errno.h> | 13 #include <errno.h> |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 DO_WRAP(memory, munmap); | 281 DO_WRAP(memory, munmap); |
| 283 } | 282 } |
| 284 } | 283 } |
| 285 | 284 |
| 286 | 285 |
| 287 EXTERN_C_END | 286 EXTERN_C_END |
| 288 | 287 |
| 289 | 288 |
| 290 #endif // defined(__native_client__) && !defined(__GLIBC__) | 289 #endif // defined(__native_client__) && !defined(__GLIBC__) |
| 291 | 290 |
| OLD | NEW |