diff --git a/tests/unix/ffi_float.py b/tests/unix/ffi_float.py
index c92a39bcdc82107fffae0752458070f18bf342b9..317436855b40bd7ca9f645c692016881a53ff1e6 100644
--- a/tests/unix/ffi_float.py
+++ b/tests/unix/ffi_float.py
@@ -18,7 +18,14 @@ def ffi_open(names):
 
 libc = ffi_open(('libc.so', 'libc.so.0', 'libc.so.6', 'libc.dylib'))
 
-strtof = libc.func("f", "strtof", "sp")
+try:
+    strtof = libc.func("f", "strtof", "sp")
+except OSError:
+    # Some libc's (e.g. Android's Bionic) define strtof as macro/inline func
+    # in terms of strtod().
+    print("SKIP")
+    raise SystemExit
+
 print('%.6f' % strtof('1.23', None))
 
 strtod = libc.func("d", "strtod", "sp")