Skip to content

Commit cf48828

Browse files
committed
use PDAL_EXPORT instead of PDAL_DLL and include pdal/util/pdal_util_export.hpp to get it
1 parent b569f27 commit cf48828

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/pdal/PyArray.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
#pragma once
3636

37+
#include <pdal/util/pdal_util_export.hpp>
3738
#include <pdal/PointView.hpp>
3839

3940
#define NPY_TARGET_VERSION NPY_1_22_API_VERSION
@@ -60,7 +61,7 @@ class ArrayIter;
6061

6162
using ArrayStreamHandler = std::function<int64_t()>;
6263

63-
class PDAL_DLL Array
64+
class PDAL_EXPORT Array
6465
{
6566
public:
6667
using Shape = std::array<size_t, 3>;
@@ -89,7 +90,7 @@ class PDAL_DLL Array
8990
};
9091

9192

92-
class PDAL_DLL ArrayIter
93+
class PDAL_EXPORT ArrayIter
9394
{
9495
public:
9596
ArrayIter(const ArrayIter&) = delete;

src/pdal/PyPipeline.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
#pragma once
3636

37+
#include <pdal/util/pdal_util_export.hpp>
3738
#include <pdal/PipelineManager.hpp>
3839

3940
#define NPY_TARGET_VERSION NPY_1_22_API_VERSION
@@ -55,7 +56,7 @@ PyArrayObject* meshToNumpyArray(const TriangularMesh* mesh);
5556

5657
class Array;
5758

58-
class PDAL_DLL PipelineExecutor {
59+
class PDAL_EXPORT PipelineExecutor {
5960
public:
6061
PipelineExecutor(std::string const& json, std::vector<std::shared_ptr<Array>> arrays, int level);
6162
virtual ~PipelineExecutor() = default;

0 commit comments

Comments
 (0)