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.
Environment: Windows, MSVC
Reporter: Balázs Gosztonyi / @bgosztonyi
Assignee: Balázs Gosztonyi / @bgosztonyi
Note: This issue was originally created as ARROW-1003. Please see the migration documentation for further details.
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.
Environment: Windows, MSVC
Reporter: Balázs Gosztonyi / @bgosztonyi
Assignee: Balázs Gosztonyi / @bgosztonyi
Note: This issue was originally created as ARROW-1003. Please see the migration documentation for further details.