diff --git a/ogr/ogr_schema_override.h b/ogr/ogr_schema_override.h index 74d9ff3ddde6..1aee1b7ad8f8 100644 --- a/ogr/ogr_schema_override.h +++ b/ogr/ogr_schema_override.h @@ -23,7 +23,7 @@ #include /** Class that holds the schema override options for a single field */ -class OGRFieldDefnOverride +class CPL_DLL OGRFieldDefnOverride { public: OGRFieldDefnOverride() @@ -93,7 +93,7 @@ class OGRFieldDefnOverride }; /** Class that holds the schema override options for a single layer */ -class OGRLayerSchemaOverride +class CPL_DLL OGRLayerSchemaOverride { public: OGRLayerSchemaOverride() : m_osLayerName(), m_moFieldOverrides() @@ -140,7 +140,7 @@ class OGRLayerSchemaOverride }; /** Class that holds the schema override options for a datasource */ -class OGRSchemaOverride +class CPL_DLL OGRSchemaOverride { public: OGRSchemaOverride() : m_moLayerOverrides()