aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/image.c19
2 files changed, 19 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0c76b176a1f..0d58733f4bf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2
3 * image.c (Qlibjpeg_version): New variable.
4 (syms_of_image): DEFSYM and initialize it.
5
12013-10-31 Jan Djärv <jan.h.d@swipnet.se> 62013-10-31 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * emacs.c (main): Skip -psn args on OSX even if ! isatty (0). 8 * emacs.c (main): Skip -psn args on OSX even if ! isatty (0).
diff --git a/src/image.c b/src/image.c
index 6691cfc8a10..fca1bb077f6 100644
--- a/src/image.c
+++ b/src/image.c
@@ -87,11 +87,12 @@ typedef struct w32_bitmap_record Bitmap_Record;
87#define x_defined_color w32_defined_color 87#define x_defined_color w32_defined_color
88#define DefaultDepthOfScreen(screen) (one_w32_display_info.n_cbits) 88#define DefaultDepthOfScreen(screen) (one_w32_display_info.n_cbits)
89 89
90/* Versions of libpng and libgif that we were compiled with, or -1 if 90/* Versions of libpng, libgif, and libjpeg that we were compiled with,
91 no PNG/GIF support was compiled in. This is tested by w32-win.el 91 or -1 if no PNG/GIF support was compiled in. This is tested by
92 to correctly set up the alist used to search for the respective 92 w32-win.el to correctly set up the alist used to search for the
93 image libraries. */ 93 respective image libraries. */
94Lisp_Object Qlibpng_version, Qlibgif_version; 94Lisp_Object Qlibpng_version, Qlibgif_version, Qlibjpeg_version;
95
95#endif /* HAVE_NTGUI */ 96#endif /* HAVE_NTGUI */
96 97
97#ifdef HAVE_NS 98#ifdef HAVE_NS
@@ -9411,6 +9412,14 @@ non-numeric, there is no explicit limit on the size of images. */);
9411#else 9412#else
9412 make_number (-1) 9413 make_number (-1)
9413#endif 9414#endif
9415 );
9416 DEFSYM (Qlibjpeg_version, "libjpeg-version");
9417 Fset (Qlibjpeg_version,
9418#if HAVE_JPEG
9419 make_number (JPEG_LIB_VERSION)
9420#else
9421 make_number (-1)
9422#endif
9414 ); 9423 );
9415#endif 9424#endif
9416 9425