fix for older glibc's
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 13 Aug 2002 13:56:05 +0000 (13:56 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 13 Aug 2002 13:56:05 +0000 (13:56 +0000)
Original commit message from CVS:
fix for older glibc's

gst/cothreads.c

index 1d27ad3..a1da7b4 100644 (file)
 #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