We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3157818 commit a3411b9Copy full SHA for a3411b9
cpp/src/arrow/flight/transport/grpc/customize_grpc.h
@@ -20,6 +20,26 @@
20
#include <limits>
21
#include <memory>
22
23
+// HACK: Workaround absl::Mutex ABI incompatibility by making sure the
24
+// non-debug version of Abseil is included
25
+// (https://github.com/conda-forge/abseil-cpp-feedstock/issues/104,
26
+// https://github.com/abseil/abseil-cpp/issues/1624)
27
+
28
+#if __has_include(<absl/synchronization/mutex.h>)
29
30
+# ifndef NDEBUG
31
+# define ARROW_NO_NDEBUG
32
+# define NDEBUG
33
+# endif
34
35
+# include <absl/synchronization/mutex.h>
36
37
+# ifdef ARROW_NO_NDEBUG
38
+# undef NDEBUG
39
40
41
+#endif
42
43
#include "arrow/flight/platform.h"
44
#include "arrow/flight/type_fwd.h"
45
#include "arrow/flight/visibility.h"
0 commit comments