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

Side by Side Diff: src/trusted/service_runtime/nacl_syscall_common.c

Issue 788193003: Create a build_config header file. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 run-time, non-platform specific system call helper routines. 8 * NaCl service run-time, non-platform specific system call helper routines.
9 */ 9 */
10
10 #include <sys/types.h> 11 #include <sys/types.h>
11 #include <sys/stat.h> 12 #include <sys/stat.h>
12 13
13 #include <errno.h> 14 #include <errno.h>
14 #include <stdio.h> 15 #include <stdio.h>
16
17 #include "native_client/src/include/nacl_defines.h"
18
15 #if NACL_WINDOWS 19 #if NACL_WINDOWS
16 #include <windows.h> 20 #include <windows.h>
17 #endif 21 #endif
18 22
19 #include "native_client/src/trusted/service_runtime/nacl_syscall_common.h" 23 #include "native_client/src/trusted/service_runtime/nacl_syscall_common.h"
20 24
21 #include "native_client/src/include/nacl_macros.h" 25 #include "native_client/src/include/nacl_macros.h"
22 #include "native_client/src/include/portability_process.h" 26 #include "native_client/src/include/portability_process.h"
23 #include "native_client/src/include/portability_string.h" 27 #include "native_client/src/include/portability_string.h"
24 28
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 return NaClSysClockGetCommon(natp, clk_id, (uintptr_t) tsp, 1041 return NaClSysClockGetCommon(natp, clk_id, (uintptr_t) tsp,
1038 NaClClockGetRes, 1); 1042 NaClClockGetRes, 1);
1039 } 1043 }
1040 1044
1041 int32_t NaClSysClockGetTime(struct NaClAppThread *natp, 1045 int32_t NaClSysClockGetTime(struct NaClAppThread *natp,
1042 int clk_id, 1046 int clk_id,
1043 uint32_t tsp) { 1047 uint32_t tsp) {
1044 return NaClSysClockGetCommon(natp, clk_id, (uintptr_t) tsp, 1048 return NaClSysClockGetCommon(natp, clk_id, (uintptr_t) tsp,
1045 NaClClockGetTime, 0); 1049 NaClClockGetTime, 0);
1046 } 1050 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698