commit | b2f1fb2943c5e6833dcd2e1166b83ae4aca06d7a | [log] [tgz] |
---|---|---|
author | Virgile Bello <virgile.bello@gmail.com> | Fri Aug 23 12:44:05 2013 +0000 |
committer | Virgile Bello <virgile.bello@gmail.com> | Fri Aug 23 12:44:05 2013 +0000 |
tree | 2cf9567a828318ccccd4df22f7af31b4e796e5ec | |
parent | fcfa0afd7a09133d00bdc047cf894fce005a287a [diff] [blame] |
MingW compilation (windows). Includes various refactoring to improve portability. llvm-svn: 189107
diff --git a/lldb/source/Interpreter/Args.cpp b/lldb/source/Interpreter/Args.cpp index e6d2043..833afd6 100644 --- a/lldb/source/Interpreter/Args.cpp +++ b/lldb/source/Interpreter/Args.cpp
@@ -10,6 +10,9 @@ #include "lldb/lldb-python.h" // C Includes +#ifdef _WIN32 +#define _BSD_SOURCE // Required so that getopt.h defines optreset +#endif #include <getopt.h> #include <cstdlib> // C++ Includes