zhengchenyu opened a new pull request, #6822: URL: https://github.com/apache/hadoop/pull/6822
### Description of PR When I build hadoop-common native in Mac OS, I found this error: /xxxxx/hadoop/hadoop-common-project/hadoop-common/src/main/native/src/exception.c:114:50: error: function-like macro '__GLIBC_PREREQ' is not defined #if defined(__sun) || defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 32) The reason is that Mac OS does not support glibc. And C conditional compilation requires validation of all expressions. ### How was this patch tested? Compile on Linux and Mac OS ### For code changes: - Fixes compilation issues on non-Linux systems -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
