Mercurial > hg > xemacs-beta
comparison src/glyphs-eimage.c @ 1743:543769b89fed
[xemacs-hg @ 2003-10-14 05:02:57 by james]
New compiler.h contains compiler-specific defines. Use it everywhere.
author | james |
---|---|
date | Tue, 14 Oct 2003 05:03:13 +0000 |
parents | a8d8f419b459 |
children | 767ec43eb39c |
comparison
equal
deleted
inserted
replaced
1742:7f92ee59c996 | 1743:543769b89fed |
---|---|
59 #include "window.h" | 59 #include "window.h" |
60 | 60 |
61 #include "sysfile.h" | 61 #include "sysfile.h" |
62 | 62 |
63 #ifdef HAVE_PNG | 63 #ifdef HAVE_PNG |
64 #ifdef __cplusplus | 64 |
65 extern "C" { | 65 BEGIN_C_DECLS |
66 #endif | 66 |
67 #define message message_ /* Yuck */ | 67 #define message message_ /* Yuck */ |
68 #include <png.h> | 68 #include <png.h> |
69 #undef message | 69 #undef message |
70 #ifdef __cplusplus | 70 |
71 } | 71 END_C_DECLS |
72 #endif | 72 |
73 #else | 73 #else |
74 #include <setjmp.h> | 74 #include <setjmp.h> |
75 #endif | 75 #endif |
76 #include "file-coding.h" | 76 #include "file-coding.h" |
77 | 77 |
100 | 100 |
101 /********************************************************************** | 101 /********************************************************************** |
102 * JPEG * | 102 * JPEG * |
103 **********************************************************************/ | 103 **********************************************************************/ |
104 | 104 |
105 #ifdef __cplusplus | 105 BEGIN_C_DECLS |
106 extern "C" { | 106 |
107 #endif | |
108 #include <jpeglib.h> | 107 #include <jpeglib.h> |
109 #include <jerror.h> | 108 #include <jerror.h> |
110 #ifdef __cplusplus | 109 |
111 } | 110 END_C_DECLS |
112 #endif | |
113 | 111 |
114 /*#define USE_TEMP_FILES_FOR_JPEG_IMAGES 1*/ | 112 /*#define USE_TEMP_FILES_FOR_JPEG_IMAGES 1*/ |
115 static void | 113 static void |
116 jpeg_validate (Lisp_Object instantiator) | 114 jpeg_validate (Lisp_Object instantiator) |
117 { | 115 { |