diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp b/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp index ead044f..cf13359 100644 --- a/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp +++ b/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp @@ -9,14 +9,10 @@ #include "lldb/Host/OptionParser.h" -#ifdef _MSC_VER -#include "../windows/msvc/getopt.inc" -#else -#ifdef _WIN32 +#if (!defined( _MSC_VER ) && defined( _WIN32 )) #define _BSD_SOURCE // Required so that getopt.h defines optreset #endif -#include <getopt.h> -#endif +#include "lldb/Host/HostGetOpt.h" using namespace lldb_private; |