We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744aceb commit a969582Copy full SHA for a969582
src/core/n-image.c
@@ -32,7 +32,9 @@
32
#include "sys-core.h"
33
#include "reb-codec.h"
34
#include "sys-magick.h" // used for `resize` native
35
-
+#if defined(TO_WINDOWS) && defined(USE_NATIVE_IMAGE_CODECS)
36
+#include "winerror.h" // used for WINCODEC_ERR_COMPONENTNOTFOUND
37
+#endif
38
39
typedef struct REBCLR {
40
union {
src/include/reb-codec.h
@@ -110,8 +110,8 @@ enum {
110
CODI_IMG_WEBP, //
111
};
112
113
-#ifndef WINCODEC_ERR_COMPONENTNOTFOUND
114
-#define WINCODEC_ERR_COMPONENTNOTFOUND 0x88982F50
115
-#endif
+//#ifndef WINCODEC_ERR_COMPONENTNOTFOUND
+//#define WINCODEC_ERR_COMPONENTNOTFOUND 0x88982F50
+//#endif
116
117
#endif
0 commit comments