Skip to content

Commit

Permalink
Check for defines in oswrapper_image
Browse files Browse the repository at this point in the history
  • Loading branch information
NeRdTheNed committed Apr 12, 2023
1 parent b5fe050 commit c84b671
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions oswrapper_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,12 @@ OSWRAPPER_IMAGE_DEF unsigned char* oswrapper_image_load_from_path(const char* pa
#if defined(__cplusplus) && !defined(CINTERFACE)
#define CINTERFACE
#endif
#ifndef COBJMACROS
#define COBJMACROS
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include "wincodec.h"

#if defined(WINCODEC_SDK_VERSION2) && WINCODEC_SDK_VERSION >= WINCODEC_SDK_VERSION2
Expand Down

0 comments on commit c84b671

Please sign in to comment.