unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master b1e9151: Enable the native display of BMP images on Haiku
@ 2022-03-26 12:29 Eli Zaretskii
  2022-03-26 12:33 ` Po Lu
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2022-03-26 12:29 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

> --- a/src/image.c
> +++ b/src/image.c
> @@ -11555,12 +11555,16 @@ syms_of_image (void)
> 
>  #if HAVE_NATIVE_IMAGE_API
>    DEFSYM (Qnative_image, "native-image");
> -# ifdef HAVE_NTGUI
> -  DEFSYM (Qgdiplus, "gdiplus");
> -  DEFSYM (Qshlwapi, "shlwapi");
> +
> +#if defined HAVE_NTGUI || defined HAVE_HAIKU
>    DEFSYM (Qbmp, "bmp");
>    add_image_type (Qbmp);
> -# endif
> +#endif
> +
> +#ifdef HAVE_NTGUI
> +  DEFSYM (Qgdiplus, "gdiplus");
> +  DEFSYM (Qshlwapi, "shlwapi");
> +#endif
>  #endif
> 
>    defsubr (&Sinit_image_library);

Shouldn't you now remove SEFSYM for Qbmp from haikuimage.c?



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-03-27  0:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26 12:29 master b1e9151: Enable the native display of BMP images on Haiku Eli Zaretskii
2022-03-26 12:33 ` Po Lu
2022-03-26 13:18   ` Eli Zaretskii
2022-03-26 13:22     ` Po Lu
2022-03-26 13:29       ` Eli Zaretskii
2022-03-26 13:47         ` Po Lu
2022-03-26 13:58           ` Eli Zaretskii
2022-03-27  0:33             ` Po Lu
2022-03-26 13:49       ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).