Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/xfns.c Wed Jul 31 22:32:39 2002 +0000 +++ b/src/xfns.c Wed Jul 31 22:37:38 2002 +0000 @@ -9233,18 +9233,17 @@ /* Work around a warning about HAVE_STDLIB_H being redefined in jconfig.h. */ #ifdef HAVE_STDLIB_H -#define HAVE_STDLIB_H_1 -#undef HAVE_STDLIB_H -#endif /* HAVE_STLIB_H */ - -#include <jpeglib.h> -#include <jerror.h> +# undef HAVE_STDLIB_H +# include <jpeglib.h> +# include <jerror.h> +# define HAVE_STDLIB_H 1 +#else +# include <jpeglib.h> +# include <jerror.h> +#endif /* HAVE_STDLIB_H */ + #include <setjmp.h> -#ifdef HAVE_STLIB_H_1 -#define HAVE_STDLIB_H 1 -#endif - static int jpeg_image_p P_ ((Lisp_Object object)); static int jpeg_load P_ ((struct frame *f, struct image *img));