diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
| commit | f21a844f60ae6c74fcf1fddca32461acce3c1ee0 (patch) | |
| tree | 56d79f94966870db1cecd65a7264510a25fd1cba /tools/driver/GetOptWrapper.cpp | |
| parent | 37d22554be9f5a677dad2a95b7ef22fe59c66a8a (diff) | |
Notes
Diffstat (limited to 'tools/driver/GetOptWrapper.cpp')
| -rw-r--r-- | tools/driver/GetOptWrapper.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/driver/GetOptWrapper.cpp b/tools/driver/GetOptWrapper.cpp new file mode 100644 index 000000000000..e7cdfd786c6e --- /dev/null +++ b/tools/driver/GetOptWrapper.cpp @@ -0,0 +1,33 @@ +//===-- GetOptWrapper.cpp ---------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// this file is only relevant for Visual C++ +#if defined( _MSC_VER ) + +#include "GetOptWrapper.h" + +/* + +// already defined in lldbHostCommon.lib due to 'getopt.inc' + +extern int +getopt_long_only +( + int ___argc, + char *const *___argv, + const char *__shortopts, + const struct option *__longopts, + int *__longind +) +{ + return -1; +} +*/ + +#endif
\ No newline at end of file |
