xref: /freebsd/contrib/llvm-project/lldb/include/lldb/Host/MainLoop.h (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1 //===-- MainLoop.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_MAINLOOP_H
10 #define LLDB_HOST_MAINLOOP_H
11 
12 #ifdef _WIN32
13 #include "lldb/Host/windows/MainLoopWindows.h"
14 namespace lldb_private {
15 using MainLoop = MainLoopWindows;
16 }
17 #else
18 #include "lldb/Host/posix/MainLoopPosix.h"
19 namespace lldb_private {
20 using MainLoop = MainLoopPosix;
21 }
22 #endif
23 
24 #endif // LLDB_HOST_MAINLOOP_H
25