libpd/libpd — pull request #11 by safetydank (2012-04-16 07:07:27+00:00)
Title: Setting externals file extension, check for ANDROID platform before Linux

The Android GCC toolchain #defines __linux__, so the Android specific branch was never being hit. Moving the check above Linux fixes it.

Should probably add a check for __arm__ vs x86 architecture too, but I haven't been able to find documentation of the architecture macros.