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

Side by Side Diff: src/trusted/service_runtime/arch/x86_64/nacl_tls_64.c

Issue 788193003: Create a build_config header file. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Support scons windows as well. 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 #include "native_client/src/include/build_config.h"
8
7 #if NACL_OSX 9 #if NACL_OSX
8 # include <pthread.h> 10 # include <pthread.h>
9 #endif 11 #endif
10 12
11 #include "native_client/src/include/portability.h" 13 #include "native_client/src/include/portability.h"
12 #include "native_client/src/include/nacl_macros.h" 14 #include "native_client/src/include/nacl_macros.h"
13 15
14 #include "native_client/src/shared/platform/nacl_check.h" 16 #include "native_client/src/shared/platform/nacl_check.h"
15 #include "native_client/src/shared/platform/nacl_sync_checked.h" 17 #include "native_client/src/shared/platform/nacl_sync_checked.h"
16 #include "native_client/src/trusted/service_runtime/arch/x86/sel_ldr_x86.h" 18 #include "native_client/src/trusted/service_runtime/arch/x86/sel_ldr_x86.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 nacl_current_thread = &natp->user; 285 nacl_current_thread = &natp->user;
284 } 286 }
285 287
286 struct NaClAppThread *NaClTlsGetCurrentThread(void) { 288 struct NaClAppThread *NaClTlsGetCurrentThread(void) {
287 return NaClAppThreadFromThreadContext(nacl_current_thread); 289 return NaClAppThreadFromThreadContext(nacl_current_thread);
288 } 290 }
289 291
290 #else 292 #else
291 # error "Woe to the service runtime. What OS is it being compiled for?!?" 293 # error "Woe to the service runtime. What OS is it being compiled for?!?"
292 #endif 294 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698