Skip to content

Commit 3506900

Browse files
author
Rafał Hibner
committed
Merge branch 'VcpkgOpenTelemetry' into combined3
2 parents 8e20ee8 + 7c2ad14 commit 3506900

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

cpp/src/arrow/util/align_util.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
// clang-format off
19+
// (prevent include reordering)
20+
#include "arrow/util/windows_compatibility.h"
21+
// clang-format on
22+
1823
#include "arrow/util/align_util.h"
1924

2025
#include "arrow/array.h"

cpp/src/arrow/util/future.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
1817
#include "arrow/util/future.h"
18+
#include "arrow/util/windows_compatibility.h"
1919

2020
#include <algorithm>
2121
#include <atomic>

cpp/src/arrow/util/thread_pool.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
1817
#include "arrow/util/thread_pool.h"
18+
#include "arrow/util/windows_compatibility.h"
1919

2020
#include <algorithm>
2121
#include <condition_variable>

cpp/src/arrow/util/tracing.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
1616
// under the License.
17-
1817
#include "arrow/util/tracing.h"
18+
#include "arrow/util/windows_compatibility.h"
1919

2020
#include "arrow/util/config.h"
2121
#include "arrow/util/tracing_internal.h"

cpp/src/arrow/util/tracing_internal.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ struct Scope {
123123
opentelemetry::trace::Scope scope_impl;
124124
};
125125

126-
opentelemetry::nostd::shared_ptr<opentelemetry::trace::Span>& UnwrapSpan(
126+
ARROW_EXPORT opentelemetry::nostd::shared_ptr<opentelemetry::trace::Span>& UnwrapSpan(
127127
::arrow::util::tracing::SpanDetails* span);
128128

129-
const opentelemetry::nostd::shared_ptr<opentelemetry::trace::Span>& UnwrapSpan(
130-
const ::arrow::util::tracing::SpanDetails* span);
129+
ARROW_EXPORT const opentelemetry::nostd::shared_ptr<opentelemetry::trace::Span>&
130+
UnwrapSpan(const ::arrow::util::tracing::SpanDetails* span);
131131

132-
opentelemetry::nostd::shared_ptr<opentelemetry::trace::Span>& RewrapSpan(
132+
ARROW_EXPORT opentelemetry::nostd::shared_ptr<opentelemetry::trace::Span>& RewrapSpan(
133133
::arrow::util::tracing::SpanDetails* span,
134134
opentelemetry::nostd::shared_ptr<opentelemetry::trace::Span> ot_span);
135135

0 commit comments

Comments
 (0)