Skip to content

Commit

Permalink
Fixes -Wundef warning introduced with BUILD_SHARED_LIBS (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn authored Feb 13, 2025
1 parent 3e8137e commit 632fcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DirectXTex/DirectXTex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 632fcdc

Please sign in to comment.