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] [Created] (ARROW-11642) [C++] Incorrect preprocessor directive for Windows

Markus Silberstein Hont created ARROW-11642:
-----------------------------------------------

             Summary: [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


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)