aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/HostGetOpt.h
blob: 761c1a118600d0a60b6b87b843461f6d86dcdbef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===-- GetOpt.h ------------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#pragma once

#ifndef _MSC_VER

#ifdef _WIN32
#define _BSD_SOURCE // Required so that getopt.h defines optreset
#endif

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

#else

#include <lldb/Host/windows/getopt/GetOptInc.h>

#endif