chiark / gitweb /
nodejs: Link to libstdc++.so instead of stlport
[termux-packages] / ndk_patches / stdio.h.patch
index c64fda15602331ac02862c665403fa1893ee8ea7..325fcf3cd097ac30657c3bd999f2e4c7f53e0c3e 100644 (file)
@@ -38,7 +38,7 @@ diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl
 +
 +/* Used by perl, fish, and others */
 +static char* ctermid(char* s) {
 +
 +/* Used by perl, fish, and others */
 +static char* ctermid(char* s) {
-+    if (s == 0) return "/dev/tty";
++    if (s == 0) return (char*) "/dev/tty";
 +    strcpy(s, "/dev/tty");
 +    return s;
 +}
 +    strcpy(s, "/dev/tty");
 +    return s;
 +}