Skip to content

Commit 632fcdc

Browse files
authored
Fixes -Wundef warning introduced with BUILD_SHARED_LIBS (#582)
1 parent 3e8137e commit 632fcdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DirectXTex/DirectXTex.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct IWICMetadataQueryReader;
5151

5252
#ifdef DIRECTX_TEX_EXPORT
5353
#define DIRECTX_TEX_API __declspec(dllexport)
54-
#elif DIRECTX_TEX_IMPORT
54+
#elif defined(DIRECTX_TEX_IMPORT)
5555
#define DIRECTX_TEX_API __declspec(dllimport)
5656
#else
5757
#define DIRECTX_TEX_API

0 commit comments

Comments
 (0)