changeset 88964:b9d31dd48edb

Change logic (instead of fixing typo).
author Dave Love <fx@gnu.org>
date Wed, 31 Jul 2002 22:37:38 +0000
parents 663e60c7887e
children eb6e469e23d3
files src/xfns.c
diffstat 1 files changed, 9 insertions(+), 10 deletions(-) [+]
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));