summaryrefslogtreecommitdiff
path: root/plugins/gme/cgme.c
diff options
context:
space:
mode:
authorGravatar Lithopsian <deadbeef@nartowicz.co.uk>2014-07-06 17:04:02 +0100
committerGravatar Lithopsian <deadbeef@nartowicz.co.uk>2014-07-06 17:04:02 +0100
commit3c8b29056cb4e68067f475ee6653640b199087df (patch)
treeaa9e019475dc3e5183c4c8440ea7c0d8c91ee001 /plugins/gme/cgme.c
parent6cd87a40c3a3da1ff8ecdc0f8b980cec38de84aa (diff)
parentd012d39f4d256d43cd5e2d95a96f4868fbedd464 (diff)
Merge pull request #8 from Alexey-Yakovenko/master
Resync
Diffstat (limited to 'plugins/gme/cgme.c')
-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