Fixes -Wundef warning introduced with BUILD_SHARED_LIBS (#582)

This commit is contained in:
Chuck Walbourn 2025-02-12 17:26:42 -08:00 committed by GitHub
parent 3e8137e481
commit 632fcdcb2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ struct IWICMetadataQueryReader;
#ifdef DIRECTX_TEX_EXPORT
#define DIRECTX_TEX_API __declspec(dllexport)
#elif DIRECTX_TEX_IMPORT
#elif defined(DIRECTX_TEX_IMPORT)
#define DIRECTX_TEX_API __declspec(dllimport)
#else
#define DIRECTX_TEX_API