Skip to content

Commit 87c4665

Browse files
committed
alias PDAL_DLL => PDAL_EXPORT for PDAL 2.9+
1 parent 70ef8ac commit 87c4665

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/pdal/plang/Environment.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
#define NPY_API_SYMBOL_ATTRIBUTE
5555
#define NPY_NO_DEPRECATED_API NPY_1_22_API_VERSION
5656

57+
// PDAL renamed this but it is not aliased on windows for PDAL 2.9
58+
# define PDAL_DLL PDAL_EXPORT
59+
5760
namespace pdal
5861
{
5962
namespace plang

src/pdal/plang/Invocation.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
#include <pdal/Dimension.hpp>
4343
#include <pdal/PointView.hpp>
4444

45+
// PDAL renamed this but it is not aliased on windows for PDAL 2.9
46+
# define PDAL_DLL PDAL_EXPORT
47+
4548
namespace pdal
4649
{
4750
namespace plang

src/pdal/plang/Script.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838

3939
#include <pdal/Options.hpp>
4040

41+
// PDAL renamed this but it is not aliased on windows for PDAL 2.9
42+
# define PDAL_DLL PDAL_EXPORT
43+
4144
namespace pdal
4245
{
4346
namespace plang

0 commit comments

Comments
 (0)