Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17636

Don't add declspec for Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • libhdfs
    • Windows 10/11

    Description

      • 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.

      Attachments

        Issue Links

          Activity

            People

              gaurava Gautham Banasandra
              gaurava Gautham Banasandra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: