13cc2161cSSiva Chandra Reddy //===--------------- Internal syscall declarations --------------*- C++ -*-===// 23cc2161cSSiva Chandra Reddy // 33cc2161cSSiva Chandra Reddy // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 43cc2161cSSiva Chandra Reddy // See https://llvm.org/LICENSE.txt for license information. 53cc2161cSSiva Chandra Reddy // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 63cc2161cSSiva Chandra Reddy // 73cc2161cSSiva Chandra Reddy //===----------------------------------------------------------------------===// 83cc2161cSSiva Chandra Reddy 9*270547f3SGuillaume Chatelet #ifndef LLVM_LIBC_SRC___SUPPORT_OSUTIL_SYSCALL_H 10*270547f3SGuillaume Chatelet #define LLVM_LIBC_SRC___SUPPORT_OSUTIL_SYSCALL_H 113cc2161cSSiva Chandra Reddy 120aa7ea4eSTue Ly #ifdef __APPLE__ 130aa7ea4eSTue Ly #include "darwin/syscall.h" 14cae84d8aSAlfred Persson Forsberg #elif defined(__linux__) 153cc2161cSSiva Chandra Reddy #include "linux/syscall.h" 163cc2161cSSiva Chandra Reddy #endif 173cc2161cSSiva Chandra Reddy 18*270547f3SGuillaume Chatelet #endif // LLVM_LIBC_SRC___SUPPORT_OSUTIL_SYSCALL_H 19