Mercurial > emacs
changeset 59073:3501c078df60
(__WIN32__) [HAVE_NTGUI]: Define for correct behaviour of JPEG library.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 23 Dec 2004 16:12:44 +0000 |
parents | 95abfb410833 |
children | 9b9e0bd0cdca |
files | src/image.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image.c Thu Dec 23 00:17:01 2004 +0000 +++ b/src/image.c Thu Dec 23 16:12:44 2004 +0000 @@ -6269,6 +6269,12 @@ #undef HAVE_STDLIB_H #endif /* HAVE_STLIB_H */ +#if defined (HAVE_NTGUI) && !defined (__WIN32__) +/* jpeglib.h will define boolean differently depending on __WIN32__, + so make sure it is defined. */ +#define __WIN32__ 1 +#endif + #include <jpeglib.h> #include <jerror.h> #include <setjmp.h>