[ https://issues.apache.org/jira/browse/HDFS-17636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gautham Banasandra resolved HDFS-17636. --------------------------------------- Fix Version/s: 3.5.0 Resolution: Fixed Merged PR to trunk https://github.com/apache/hadoop/pull/7096. > Don't add declspec for Windows > ------------------------------ > > Key: HDFS-17636 > URL: https://issues.apache.org/jira/browse/HDFS-17636 > Project: Hadoop HDFS > Issue Type: Bug > Components: libhdfs > Affects Versions: 3.5.0 > Environment: Windows 10/11 > Reporter: Gautham Banasandra > Assignee: Gautham Banasandra > Priority: Blocker > Labels: pull-request-available > Fix For: 3.5.0 > > > * Windows doesn't want the > macro _JNI_IMPORT_OR_EXPORT_ > to be defined in the function > definition. It fails to compile with > the following error - > "definition of dllimport function > not allowed". > * However, Linux needs it. Hence, > we're going to add this macro > based on the OS. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org