[vlc-commits] fluidlite: fix compilation on Android

Jean-Baptiste Kempf git at videolan.org
Mon Aug 8 15:14:43 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug  8 15:12:54 2016 +0200| [191433f13a8a5732ec8b5da198209fc2c0dda748] | committer: Jean-Baptiste Kempf

fluidlite: fix compilation on Android

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=191433f13a8a5732ec8b5da198209fc2c0dda748
---

 modules/codec/fluidsynth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/fluidsynth.c b/modules/codec/fluidsynth.c
index a3d1c07..e0fd620 100644
--- a/modules/codec/fluidsynth.c
+++ b/modules/codec/fluidsynth.c
@@ -124,7 +124,7 @@ static int Open (vlc_object_t *p_this)
             msg_Err (p_this, "cannot load sound fonts file %s", font_path);
         free (font_path);
     }
-#ifdef _POSIX_VERSION
+#if defined( _POSIX_VERSION ) && !defined(__ANDROID__)
     else
     {
         glob_t gl;



More information about the vlc-commits mailing list