aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2024-06-07 16:34:53 +0300
committerEli Zaretskii2024-06-07 16:34:53 +0300
commitb4b4c0fec4c52a8f9b067d1cca53fa8ddbf03799 (patch)
treed9c890aa3e530a3dbc4b59bd96b91dd6fe15ae3a /src
parent43826a9109a97546602de8e18f12723359e49640 (diff)
downloademacs-b4b4c0fec4c52a8f9b067d1cca53fa8ddbf03799.tar.gz
emacs-b4b4c0fec4c52a8f9b067d1cca53fa8ddbf03799.zip
Unbreak the Cygw32 build
It was broken by latest changes to w32image.c. * src/emacs.c (main): Call 'syms_of_w32image' and 'globals_of_w32image' only if native image APIs are enabled. (Bug#71412)
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 036bc1864e6..64f850c58a7 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2359,7 +2359,9 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
2359 syms_of_fringe (); 2359 syms_of_fringe ();
2360 syms_of_image (); 2360 syms_of_image ();
2361#ifdef HAVE_NTGUI 2361#ifdef HAVE_NTGUI
2362# if HAVE_NATIVE_IMAGE_API
2362 syms_of_w32image (); 2363 syms_of_w32image ();
2364# endif
2363#endif /* HAVE_NTGUI */ 2365#endif /* HAVE_NTGUI */
2364#endif /* HAVE_WINDOW_SYSTEM */ 2366#endif /* HAVE_WINDOW_SYSTEM */
2365#ifdef HAVE_X_WINDOWS 2367#ifdef HAVE_X_WINDOWS
@@ -2498,7 +2500,9 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
2498 globals_of_w32font (); 2500 globals_of_w32font ();
2499 globals_of_w32fns (); 2501 globals_of_w32fns ();
2500 globals_of_w32menu (); 2502 globals_of_w32menu ();
2503# if HAVE_NATIVE_IMAGE_API
2501 globals_of_w32image (); 2504 globals_of_w32image ();
2505# endif
2502#endif /* HAVE_NTGUI */ 2506#endif /* HAVE_NTGUI */
2503 2507
2504#if defined WINDOWSNT || defined HAVE_NTGUI 2508#if defined WINDOWSNT || defined HAVE_NTGUI