From 695b61090949b301b2dccf084d44ab3970b8d508 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sat, 28 Jun 2014 14:09:09 +0200 Subject: gme: glibc <2.4 compile fix --- plugins/gme/cgme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/gme/cgme.c b/plugins/gme/cgme.c index 712643e2..d172664e 100644 --- a/plugins/gme/cgme.c +++ b/plugins/gme/cgme.c @@ -85,7 +85,7 @@ read_gzfile (const char *fname, char **buffer, int *size) { tmp = "/tmp"; } char nm[PATH_MAX]; -#ifdef ANDROID +#if defined(ANDROID) || defined(STATICLINK) snprintf (nm, sizeof (nm), "%s/ddbgmeXXXXXX", tmp); fd = mkstemp (nm); #else -- cgit v1.2.3