[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71909: 30.0.60;
From: |
Cecilio Pardo |
Subject: |
bug#71909: 30.0.60; |
Date: |
Mon, 4 Nov 2024 23:19:26 +0100 |
User-agent: |
Mozilla Thunderbird |
I'm afraid this breaks the build if using --without-native-image-api
We'll need this:
diff --git a/src/w32select.c b/src/w32select.c
index 7e8dc3f0702..9379151f00d 100644
--- a/src/w32select.c
+++ b/src/w32select.c
@@ -825,6 +825,7 @@ DEFUN ("w32-set-clipboard-data",
Fw32_set_clipboard_data,
static bool
convert_dibv5_to_png (char *data, int size, char *temp_file)
{
+#ifdef HAVE_NATIVE_IMAGE_API
CLSID clsid_png;
if (!w32_gdiplus_startup ()
@@ -858,6 +859,10 @@ convert_dibv5_to_png (char *data, int size, char
*temp_file)
if (status != Ok)
return false;
return true;
+#else
+ return false;
+#endif
+
}
static int