forked from OSchip/llvm-project
Shuffle an #undef to avoid a warning on FreeBSD
On FreeBSD _LIBCPP_EXTERN_TEMPLATE is being defined from something included by lldb/lldb-private.h. Undefine it after the #include to avoid the redefinition warning. Differential Revision: http://reviews.llvm.org/D17402 llvm-svn: 263486
This commit is contained in:
parent
bb45810e4f
commit
7d1eb1de74
|
@ -20,9 +20,8 @@
|
|||
#include "lldb/Host/windows/win32.h" // snprintf
|
||||
#endif
|
||||
#include "llvm/Support/Compiler.h" // LLVM_{NOEXCEPT, CONSTEXPR, ALIGNAS}
|
||||
#undef _LIBCPP_EXTERN_TEMPLATE // Avoid warning below
|
||||
|
||||
#include "lldb/lldb-private.h"
|
||||
#undef _LIBCPP_EXTERN_TEMPLATE // Avoid warning below
|
||||
|
||||
//===-------------------------- cxa_demangle.cpp --------------------------===//
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue