From 703479f051b372fb586592d36c5eb38bae7b9f41 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 6 Sep 2015 03:16:33 +0200 Subject: [PATCH] Avoid warnings on Android for retroarch-jni compilation --- file_ops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/file_ops.c b/file_ops.c index 7f3b3183d0..12583cd695 100644 --- a/file_ops.c +++ b/file_ops.c @@ -37,6 +37,7 @@ #include "file_ops.h" +#ifdef HAVE_COMPRESSION #ifdef HAVE_7ZIP #include "deps/7zip/7z.h" #include "deps/7zip/7zAlloc.h" @@ -616,6 +617,8 @@ error: } #endif +#endif + /** * write_file: * @path : path to file.