Suppressed MSVC compiler warnings C4251 caused by rlottie DLL interface exports.

This commit is contained in:
Leon Styhre 2022-06-07 17:55:26 +02:00
parent 9480f125bb
commit d96828f454

View file

@ -6,6 +6,11 @@
// Component to play Lottie animations using the rlottie library.
//
#if defined(_MSC_VER) // MSVC compiler.
// Disable rlottie DLL interface warnings.
#pragma warning(disable : 4251)
#endif
#ifndef ES_CORE_COMPONENTS_LOTTIE_ANIM_COMPONENT_H
#define ES_CORE_COMPONENTS_LOTTIE_ANIM_COMPONENT_H