forked from OSchip/llvm-project
Moved a check in HostGetOpt.h.
It can be used in multiple files now. llvm-svn: 203652
This commit is contained in:
parent
6eff101926
commit
1c03005664
|
@ -10,6 +10,10 @@
|
|||
|
||||
#ifndef _MSC_VER
|
||||
|
||||
#ifdef _WIN32
|
||||
#define _BSD_SOURCE // Required so that getopt.h defines optreset
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Host/OptionParser.h"
|
||||
|
||||
#if (!defined( _MSC_VER ) && defined( _WIN32 ))
|
||||
#define _BSD_SOURCE // Required so that getopt.h defines optreset
|
||||
#endif
|
||||
#include "lldb/Host/HostGetOpt.h"
|
||||
|
||||
using namespace lldb_private;
|
||||
|
|
Loading…
Reference in New Issue