LLDB mainline
PosixApi.h
Go to the documentation of this file.
1//===-- PosixApi.h ----------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_HOST_POSIXAPI_H
10#define LLDB_HOST_POSIXAPI_H
11
12// This file defines platform specific functions, macros, and types necessary
13// to provide a minimum level of compatibility across all platforms to rely on
14// various posix api functionality.
15
16#if defined(_WIN32)
18#else
19#include <unistd.h>
20#include <csignal>
21#endif
22
23#endif