Mercurial > emacs
comparison src/xfns.c @ 88964:b9d31dd48edb
Change logic (instead of fixing typo).
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 31 Jul 2002 22:37:38 +0000 |
parents | 225e8ce5246d |
children | 3b6ee04091ff |
comparison
equal
deleted
inserted
replaced
88963:663e60c7887e | 88964:b9d31dd48edb |
---|---|
9231 #if HAVE_JPEG | 9231 #if HAVE_JPEG |
9232 | 9232 |
9233 /* Work around a warning about HAVE_STDLIB_H being redefined in | 9233 /* Work around a warning about HAVE_STDLIB_H being redefined in |
9234 jconfig.h. */ | 9234 jconfig.h. */ |
9235 #ifdef HAVE_STDLIB_H | 9235 #ifdef HAVE_STDLIB_H |
9236 #define HAVE_STDLIB_H_1 | 9236 # undef HAVE_STDLIB_H |
9237 #undef HAVE_STDLIB_H | 9237 # include <jpeglib.h> |
9238 #endif /* HAVE_STLIB_H */ | 9238 # include <jerror.h> |
9239 | 9239 # define HAVE_STDLIB_H 1 |
9240 #include <jpeglib.h> | 9240 #else |
9241 #include <jerror.h> | 9241 # include <jpeglib.h> |
9242 # include <jerror.h> | |
9243 #endif /* HAVE_STDLIB_H */ | |
9244 | |
9242 #include <setjmp.h> | 9245 #include <setjmp.h> |
9243 | |
9244 #ifdef HAVE_STLIB_H_1 | |
9245 #define HAVE_STDLIB_H 1 | |
9246 #endif | |
9247 | 9246 |
9248 static int jpeg_image_p P_ ((Lisp_Object object)); | 9247 static int jpeg_image_p P_ ((Lisp_Object object)); |
9249 static int jpeg_load P_ ((struct frame *f, struct image *img)); | 9248 static int jpeg_load P_ ((struct frame *f, struct image *img)); |
9250 | 9249 |
9251 /* The symbol `jpeg' identifying images of this type. */ | 9250 /* The symbol `jpeg' identifying images of this type. */ |