You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Markus Silberstein Hont (Jira)" <ji...@apache.org> on 2021/02/16 08:46:00 UTC

[jira] [Commented] (ARROW-11642) [C++] Incorrect preprocessor directive for Windows

    [ https://issues.apache.org/jira/browse/ARROW-11642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285095#comment-17285095 ] 

Markus Silberstein Hont commented on ARROW-11642:
-------------------------------------------------

Pull request coming (need to read up on how to contribute first ;))

> [C++] Incorrect preprocessor directive for Windows
> --------------------------------------------------
>
>                 Key: ARROW-11642
>                 URL: https://issues.apache.org/jira/browse/ARROW-11642
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Markus Silberstein Hont
>            Priority: Critical
>
> In the HDFS connector library, there are per-platform preprocessor directives to determine which libjvm and libhdfs binaries to use for file operations. This is currently (3.0.0) failing due to an incorrect preprocessor directive for Windows. The code is referring to "__WIN32" while the properly defined variable should be "_WIN32" (see https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-160)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)