From 618ab3e18477ba95a11da719d08f0f8c502cc24d Mon Sep 17 00:00:00 2001 From: bgosztonyi Date: Wed, 10 May 2017 15:32:35 +0200 Subject: [PATCH] _WIN32 instead of __WIN32 __WIN32 is not standard for all windows compilers. --- cpp/src/arrow/io/hdfs-internal.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/io/hdfs-internal.cc b/cpp/src/arrow/io/hdfs-internal.cc index e67419b5fa5..8b4a92b3967 100644 --- a/cpp/src/arrow/io/hdfs-internal.cc +++ b/cpp/src/arrow/io/hdfs-internal.cc @@ -69,7 +69,7 @@ static std::vector get_potential_libhdfs_paths() { std::string file_name; // OS-specific file name -#ifdef __WIN32 +#ifdef _WIN32 file_name = "hdfs.dll"; #elif __APPLE__ file_name = "libhdfs.dylib"; @@ -103,7 +103,7 @@ static std::vector get_potential_libhdfs3_paths() { std::string file_name; // OS-specific file name -#ifdef __WIN32 +#ifdef _WIN32 file_name = "hdfs3.dll"; #elif __APPLE__ file_name = "libhdfs3.dylib";