Fix a link issue on mingw in debug mode.

This commit is contained in:
jean-pierre charras 2023-09-30 16:08:54 +02:00
parent 31e30a5f56
commit c2db20d745
1 changed files with 3 additions and 1 deletions

View File

@ -110,8 +110,10 @@ double ACCELERATING_ZOOM_CONTROLLER::GetScaleForRotation( int aRotation )
#ifdef __MINGW32__
// For some reason, this is needed to avoid a link issue
// (undefined reference to ACCELERATING_ZOOM_CONTROLLER::DEFAULT_TIMEOUT not found)
// (undefined reference to ACCELERATING_ZOOM_CONTROLLER::DEFAULT_TIMEOUT
// and GAL_API CONSTANT_ZOOM_CONTROLLER::MSW_SCALE)
constexpr ACCELERATING_ZOOM_CONTROLLER::TIMEOUT ACCELERATING_ZOOM_CONTROLLER::DEFAULT_TIMEOUT;
constexpr double GAL_API CONSTANT_ZOOM_CONTROLLER::MSW_SCALE;
#endif