aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/Config.h
blob: 16845ae9327b1fe618df055c64745f5013cdb9cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//===-- Config.h ------------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef liblldb_Config_h_
#define liblldb_Config_h_

#if defined(__APPLE__)

#include "lldb/Host/macosx/Config.h"

#elif defined(__ANDROID__)

#include "lldb/Host/android/Config.h"

#elif defined(__linux__) || defined(__GNU__)

#include "lldb/Host/linux/Config.h"

#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) ||                   \
    defined(__OpenBSD__)

#include "lldb/Host/freebsd/Config.h"

#elif defined(__NetBSD__)

#include "lldb/Host/netbsd/Config.h"

#elif defined(__MINGW__) || defined(__MINGW32__)

#include "lldb/Host/mingw/Config.h"

#elif defined(_MSC_VER)

#include "lldb/Host/msvc/Config.h"

#else

#error undefined platform

#endif

#endif // #ifndef liblldb_Config_h_