Skip to content

Commit 2e328ca

Browse files
GetOpt support
1 parent 89da344 commit 2e328ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lldb/include/lldb/Host/HostGetOpt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef LLDB_HOST_HOSTGETOPT_H
1010
#define LLDB_HOST_HOSTGETOPT_H
1111

12-
#if !defined(_MSC_VER) && !defined(__NetBSD__)
12+
#if !defined(_MSC_VER) && !defined(__NetBSD__) && !defined(_AIX)
1313

1414
#include <getopt.h>
1515
#include <unistd.h>

lldb/include/lldb/Host/common/GetOptInc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
#include "lldb/lldb-defines.h"
1313

14-
#if defined(_MSC_VER)
14+
#if defined(_MSC_VER) || defined(_AIX)
1515
#define REPLACE_GETOPT
1616
#define REPLACE_GETOPT_LONG
1717
#endif
18-
#if defined(_MSC_VER) || defined(__NetBSD__)
18+
#if defined(_MSC_VER) || defined(__NetBSD__) || defined(_AIX)
1919
#define REPLACE_GETOPT_LONG_ONLY
2020
#endif
2121

0 commit comments

Comments
 (0)