aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/mingw/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Host/mingw/Config.h')
-rw-r--r--include/lldb/Host/mingw/Config.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/lldb/Host/mingw/Config.h b/include/lldb/Host/mingw/Config.h
new file mode 100644
index 000000000000..cdf6f21e0988
--- /dev/null
+++ b/include/lldb/Host/mingw/Config.h
@@ -0,0 +1,30 @@
+//===-- 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_Platform_Config_h_
+#define liblldb_Platform_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
+
+#endif // #ifndef liblldb_Platform_Config_h_