fix issue #1804 (warning about redefined macros)

This commit is contained in:
Wenzel Jakob 2019-06-19 10:48:36 +02:00
parent b3bf248eec
commit a1b71df137
1 changed files with 4 additions and 5 deletions

View File

@ -41,16 +41,15 @@
# endif
#endif
#if defined(__GNUG__) && !defined(__clang__)
#include <cxxabi.h>
#endif
#include "attr.h"
#include "options.h"
#include "detail/class.h"
#include "detail/init.h"
#if defined(__GNUG__) && !defined(__clang__)
# include <cxxabi.h>
#endif
NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
/// Wraps an arbitrary C++ function/method/lambda function/.. into a callable Python object