>> +#if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && >> (__GNUC_MINOR__ > 2) >> + #define JNIEXPORT __attribute__((visibility("default"))) >> + #define JNIIMPORT __attribute__((visibility("default"))) > > The default compiler in Xcode 4.1 is llvm-gcc 4.2, it seems. The conditional > above excludes that. Is this intentional?
It's *is* gcc, with a LLVM backend. -DrD-