]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/lldb/Host/HostGetOpt.h
Vendor import of stripped lldb trunk r256633:
[FreeBSD/FreeBSD.git] / include / lldb / Host / HostGetOpt.h
1 //===-- GetOpt.h ------------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 #pragma once
10
11 #if !defined(_MSC_VER) && !defined(__NetBSD__)
12
13 #ifdef _WIN32
14 #define _BSD_SOURCE // Required so that getopt.h defines optreset
15 #endif
16
17 #include <unistd.h>
18 #include <getopt.h>
19
20 #else
21
22 #include <lldb/Host/common/GetOptInc.h>
23
24 #endif