Gautham Banasandra created HDFS-17636: -----------------------------------------
Summary: 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 * 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