aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/msvc/Config.h
blob: 4a4ed5799c538aeae95668383cbe57bfab4cac6e (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
//===-- Config.h -----------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

//----------------------------------------------------------------------
// LLDB currently doesn't have a dynamic configuration mechanism, so we 
// are going to hardcode things for now. Eventually these files will
// be auto generated by some configuration script that can detect
// platform functionality availability.
//----------------------------------------------------------------------

#ifndef liblldb_host_msvc_Config_h_
#define liblldb_host_msvc_Config_h_

#define LLDB_DISABLE_POSIX

//#define LLDB_CONFIG_TERMIOS_SUPPORTED 1

//#define LLDB_CONFIG_TILDE_RESOLVES_TO_USER 1

//#define LLDB_CONFIG_DLOPEN_RTLD_FIRST_SUPPORTED 1

//#define LLDB_CONFIG_FCNTL_GETPATH_SUPPORTED 1

#if _HAS_EXCEPTIONS == 0
// Due to a bug in <thread>, when _HAS_EXCEPTIONS == 0 the header will try to call
// uncaught_exception() without having a declaration for it.  The fix for this is
// to manually #include <eh.h>, which contains this declaration.
#include <eh.h>
#endif

#endif // #ifndef liblldb_Platform_Config_h_