[ 
https://issues.apache.org/jira/browse/ARROW-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rok Mihevc updated ARROW-1003:
------------------------------
    External issue URL: https://github.com/apache/arrow/issues/16599

> [C++] Hdfs and java dlls fail to load when built for Windows with MSVC
> ----------------------------------------------------------------------
>
>                 Key: ARROW-1003
>                 URL: https://issues.apache.org/jira/browse/ARROW-1003
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>         Environment: Windows, MSVC
>            Reporter: Balázs Gosztonyi
>            Assignee: Balázs Gosztonyi
>            Priority: Major
>              Labels: easyfix, windows
>             Fix For: 0.4.0
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> If I build the cpp library with MSVC for windows and try to use the hdfs io 
> interface, the dynamic library loads fail.
> The reason is that in file hdfs-internal.cc on two occasions the __WIN32 
> define is checked instead of _WIN32. The former is not set by MSVC. I checked 
> that these are the only two locations in the arrow library where the flag 
> __WIN32 is used, so all we need to do is replace these two references in  
> hdfs-internal.cc.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to