mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
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:
@@ -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 --------------------------===//
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user