From: Thomas Vander Stichele Date: Tue, 13 Aug 2002 13:56:05 +0000 (+0000) Subject: fix for older glibc's X-Git-Tag: BRANCH-RELEASE-0_4_1-ROOT~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1e2b0009b33f815645d90788758b1d6c5958dd2;p=platform%2Fupstream%2Fgstreamer.git fix for older glibc's Original commit message from CVS: fix for older glibc's --- diff --git a/gst/cothreads.c b/gst/cothreads.c index 1d27ad3..a1da7b4 100644 --- a/gst/cothreads.c +++ b/gst/cothreads.c @@ -36,6 +36,10 @@ #include "gstlog.h" #include "gstutils.h" +/* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */ +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif #define STACK_SIZE 0x200000