diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-06-21 03:36:52 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-06-21 03:36:52 +0000 |
commit | a4768daec1b55141dcfd759a505fc01709f22b0d (patch) | |
tree | af88bf9fad332ddb031292dfaa28c2c5685090bb /gtk/xdgmime | |
parent | 1dbcd037c87c23af5db178dd079ff31680fb2da8 (diff) | |
download | gtk+-a4768daec1b55141dcfd759a505fc01709f22b0d.tar.gz |
Handle missing MAP_FAILED. (#308449, Georg Schwarz)
2005-06-20 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c: Handle missing MAP_FAILED. (#308449, Georg
Schwarz)
Diffstat (limited to 'gtk/xdgmime')
-rw-r--r-- | gtk/xdgmime/ChangeLog | 5 | ||||
-rw-r--r-- | gtk/xdgmime/xdgmimecache.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gtk/xdgmime/ChangeLog b/gtk/xdgmime/ChangeLog index 8af43ed4da..5d2f23aef4 100644 --- a/gtk/xdgmime/ChangeLog +++ b/gtk/xdgmime/ChangeLog @@ -1,5 +1,10 @@ 2005-06-20 Matthias Clasen <mclasen@redhat.com> + * xdgmimecache.c: Handle missing MAP_FAILED. (#308449, Georg + Schwarz) + +2005-06-20 Matthias Clasen <mclasen@redhat.com> + * === Released 2.7.0 === 2005-06-10 Federico Mena Quintero <federico@ximian.com> diff --git a/gtk/xdgmime/xdgmimecache.c b/gtk/xdgmime/xdgmimecache.c index 9992f02ac3..4f09a4b073 100644 --- a/gtk/xdgmime/xdgmimecache.c +++ b/gtk/xdgmime/xdgmimecache.c @@ -65,6 +65,10 @@ #define _O_BINARY 0 #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *) -1) +#endif + #define MAJOR_VERSION 1 #define MINOR_VERSION 0 |