| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* | 7 /* |
| 8 * NaCl Service Runtime. I/O Descriptor / Handle abstraction. Memory | 8 * NaCl Service Runtime. I/O Descriptor / Handle abstraction. Memory |
| 9 * mapping using descriptors. | 9 * mapping using descriptors. |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ | 12 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ |
| 13 #define NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ | 13 #define NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ |
| 14 | 14 |
| 15 #include <sys/stat.h> |
| 16 |
| 15 #include "native_client/src/include/nacl_compiler_annotations.h" | 17 #include "native_client/src/include/nacl_compiler_annotations.h" |
| 16 #include "native_client/src/include/portability.h" | 18 #include "native_client/src/include/portability.h" |
| 17 #include "native_client/src/shared/platform/nacl_sync.h" | 19 #include "native_client/src/shared/platform/nacl_sync.h" |
| 18 | 20 |
| 19 #if NACL_LINUX || NACL_OSX | 21 #if NACL_LINUX || NACL_OSX |
| 20 # include "native_client/src/shared/platform/posix/nacl_host_desc_types.h" | 22 # include "native_client/src/shared/platform/posix/nacl_host_desc_types.h" |
| 21 #elif NACL_WINDOWS | 23 #elif NACL_WINDOWS |
| 22 # include "native_client/src/shared/platform/win/nacl_host_desc_types.h" | 24 # include "native_client/src/shared/platform/win/nacl_host_desc_types.h" |
| 23 #endif | 25 #endif |
| 24 | 26 |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 char const **out_msg); | 357 char const **out_msg); |
| 356 | 358 |
| 357 extern DWORD NaClflProtectMap(int prot); | 359 extern DWORD NaClflProtectMap(int prot); |
| 358 #endif | 360 #endif |
| 359 | 361 |
| 360 EXTERN_C_END | 362 EXTERN_C_END |
| 361 | 363 |
| 362 #endif /* defined __native_client__ */ | 364 #endif /* defined __native_client__ */ |
| 363 | 365 |
| 364 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ */ | 366 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DESC_H__ */ |
| OLD | NEW |