termux-packages/packages/liblo/src-server.c.patch
2022-05-08 21:43:18 +09:00

12 lines
385 B
Diff

--- a/src/server.c
+++ b/src/server.c
@@ -2013,7 +2013,7 @@
tmp = (char*) malloc(strlen(it->path + len) + 1);
strcpy(tmp, it->path + len);
-#if defined(WIN32) || defined(_MSC_VER)
+#if defined(WIN32) || defined(_MSC_VER) || defined(__ANDROID__)
sec = strchr(tmp, '/');
#else
sec = index(tmp, '/');