diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-07-22 23:50:19 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-07-22 23:50:19 +0000 |
commit | 67a4b0c3d109a6758b2ba6534f3e62c1ffe77829 (patch) | |
tree | 41d535e92712df3e6ac5b520d46e4d7b11bec604 /gdk-pixbuf/io-jpeg.c | |
parent | a0e5fd24904084388ef0089b3bcb2018a9e2b0f4 (diff) | |
download | gdk-pixbuf-67a4b0c3d109a6758b2ba6534f3e62c1ffe77829.tar.gz |
Win32 build setup:
2000-07-23 Tor Lillqvist <tml@iki.fi>
Win32 build setup:
* makefile.mingw.in
* pixops/makefile.mingw.in
* pixbuf_*.def: New files.
* Makefile.am
* pixops/Makefile.am: Add them. Add rule to generate makefile.mingw.
* gdk-pixbuf-io.c (gtk_win32_get_installation_directory):
New function, to get the GTK+ installation directory from
the Windows Registry, where the installation program
for whatever software includes GTK+ has stored it.
Used to avoid having hardcoding the directory where to look for
loaders. This function is needed by gtk, too, so it should
really be just in one place. Maybe a small static library
one level up from here?
* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file)
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
Open file in binary mode. This *is* standard C. (No-op on Unix,
of course.)
* io-jpeg.c: If we don't HAVE_SIGSETJMP, use normal setjmp().
* io-tiff.c: Use g_get_tmp_dir(). If we don't HAVE_MKSTEMP, use
mktemp() and open().
(gdk_pixbuf__tiff_image_stop_load): g_free() also the tempname.
* pixops/*.S: The Gas from mingw32 doesn't like the .type
pseudo-op. Conditionalise on __MINGW32__, but probably
should conditionalise on Gas version instead? Or could we
do without .type on all systems?
* pixops/timescale.c: Use g_get_current_time()
instead of gettimeofday().
Diffstat (limited to 'gdk-pixbuf/io-jpeg.c')
-rw-r--r-- | gdk-pixbuf/io-jpeg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c index ed3ee2ac8..6a9ffe7d3 100644 --- a/gdk-pixbuf/io-jpeg.c +++ b/gdk-pixbuf/io-jpeg.c @@ -50,6 +50,11 @@ #include "gdk-pixbuf-private.h" #include "gdk-pixbuf-io.h" +#ifndef HAVE_SIGSETJMP +#define sigjmp_buf jmp_buf +#define sigsetjmp(jb, x) setjmp(jb) +#define siglongjmp longjmp +#endif /* we are a "source manager" as far as libjpeg is concerned */ |