Skip to content

Commit a1b71df

Browse files
committed
fix issue #1804 (warning about redefined macros)
1 parent b3bf248 commit a1b71df

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

include/pybind11/pybind11.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,15 @@
4141
# endif
4242
#endif
4343

44-
#if defined(__GNUG__) && !defined(__clang__)
45-
#include <cxxabi.h>
46-
#endif
47-
48-
4944
#include "attr.h"
5045
#include "options.h"
5146
#include "detail/class.h"
5247
#include "detail/init.h"
5348

49+
#if defined(__GNUG__) && !defined(__clang__)
50+
# include <cxxabi.h>
51+
#endif
52+
5453
NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
5554

5655
/// Wraps an arbitrary C++ function/method/lambda function/.. into a callable Python object

0 commit comments

Comments
 (0)