Hm, okay. Can you move this code into a separate function called e.g. getiovmax? I suggest replacing the `#if defined(ANDROID)` with `#if !defined(IOV_MAX)`.