Missing 'defined' in preprocessor check
The following line appears to be missing the 'defined', causing a compile time warning, and potentially some issue when actually using clang on non-linux.
https://github.com/GPUOpen-LibrariesAndSDKs/AMF/blob/9c7189ebb0a78e7e9287547b7898995abf268af8/amf/public/include/core/Platform.h#L75
Thanks for noticing this! It has been fixed and will be available in an upcoming release.
Looking at that code some more, I do wonder if it's even correct at all? Like, Visual Studio does come with clang these days, and will certainly have HRESULT and friends defined.
Yes, it has been corrected to defined(__ANDROID__).
The fix is now available in the latest release v1.4.26