diff options
author | Ed Maste <emaste@FreeBSD.org> | 2014-02-18 16:23:10 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2014-02-18 16:23:10 +0000 |
commit | 866dcdacfe59f5f448e008fe2c4cb9dfcf72b2ec (patch) | |
tree | 95cb16075f0af1b3a05b9b84eb18dda8e6c903e9 /source/Host/common/OptionParser.cpp | |
parent | de889deb2c386f2a7831befaf226e5c86685fa53 (diff) |
Notes
Diffstat (limited to 'source/Host/common/OptionParser.cpp')
-rw-r--r-- | source/Host/common/OptionParser.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/Host/common/OptionParser.cpp b/source/Host/common/OptionParser.cpp index ead044f53cf1..cf133597cb84 100644 --- a/source/Host/common/OptionParser.cpp +++ b/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; |