diff --git a/gdal/keadriver.cpp b/gdal/keadriver.cpp index 529b6e9..bb1ac63 100644 --- a/gdal/keadriver.cpp +++ b/gdal/keadriver.cpp @@ -27,17 +27,11 @@ * */ +#define GDAL_COMPILATION #include "keaband.h" // for HAVE_64BITIMAGES -// CPL_DLL definition seems to have changed for consumers of the library? -#if defined(_MSC_VER) - #define KEA_DLL __declspec(dllexport) -#else - #define KEA_DLL -#endif - CPL_C_START -void KEA_DLL GDALRegister_KEA(void); +void CPL_DLL GDALRegister_KEA(void); CPL_C_END // method to register this driver