diff options
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 |