summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-28 14:09:09 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-28 14:09:09 +0200
commit695b61090949b301b2dccf084d44ab3970b8d508 (patch)
treea4430d2a19de7aafd148fc78fe41968a2c5b893a
parentdb7caf339aff51556300c5b36a6e332c1d5c4567 (diff)
gme: glibc <2.4 compile fix
-rw-r--r--plugins/gme/cgme.c2
1 files changed, 1 insertions, 1 deletions
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