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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org