gst/debug/efence.c: Add fallback if MAP_ANONYMOUS isn't defined.

Original commit message from CVS:
* gst/debug/efence.c: Add fallback if MAP_ANONYMOUS isn't defined.
This commit is contained in:
David Schleef 2004-02-02 18:28:46 +00:00
parent 79bc3ebfa1
commit d592f44068
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-02-02 David Schleef <ds@schleef.org>
* gst/debug/efence.c: Add fallback if MAP_ANONYMOUS isn't defined.
2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org>
reviewed by: <delete if not using a buddy>

View file

@ -31,7 +31,12 @@
#include "efence.h"
#ifndef MAP_ANONYMOUS
#ifdef MAP_ANON
#define MAP_ANONYMOUS MAP_ANON
#else
/* assume we don't need it */
#define MAP_ANONYMOUS 0
#endif
#endif
static GstElementDetails plugin_details = {