summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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