/*
 * Copyright 2008 The Native Client Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can
 * be found in the LICENSE file.
 */


#ifndef SERVICE_RUNTIME_NACL_SYSCALL_H__
#define SERVICE_RUNTIME_NACL_SYSCALL_H__

extern int NaClSyscallSeg();

#endif

/*
 * Copyright 2008 The Native Client Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can
 * be found in the LICENSE file.
 */


#ifndef SERVICE_RUNTIME_NACL_SYSCALL_H__
#define SERVICE_RUNTIME_NACL_SYSCALL_H__

#if !NACL_MACOSX || defined(NACL_STANDALONE)
extern int NaClSyscallSeg();
#else
// This declaration is used only on Mac OSX for Chrome build
extern int NaClSyscallSeg() __attribute__((weak_import));
#endif
#endif

--- 
+++ 
@@ -8,10 +8,6 @@
 #ifndef SERVICE_RUNTIME_NACL_SYSCALL_H__
 #define SERVICE_RUNTIME_NACL_SYSCALL_H__
 
-#if !NACL_MACOSX || defined(NACL_STANDALONE)
 extern int NaClSyscallSeg();
-#else
-// This declaration is used only on Mac OSX for Chrome build
-extern int NaClSyscallSeg() __attribute__((weak_import));
+
 #endif
-#endif
Tidy: Remove unused special case for Mac OS X

The special case was dead code anyway because it tested the wrong preprocessor symbol (NACL_MACOSX instead of NACL_OSX).

Review URL: http://codereview.chromium.org/1051001

git-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@1792 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
