File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ if(ARROW_TESTING AND ARROW_COMPUTE)
4848 add_library (arrow_compute_testing OBJECT ${ARROW_COMPUTE_TESTING_SRCS} )
4949 # Even though this is still just an object library we still need to "link"
5050 # arrow_compute_core_testing so that is also included correctly
51- if (WIN32 )
51+ if (WIN32 AND ( CMAKE_SIZEOF_VOID_P EQUAL 4) )
5252 target_link_libraries (arrow_compute_testing
5353 PUBLIC $<TARGET_OBJECTS :arrow_compute_core_testing >
5454 PUBLIC ${ARROW_GTEST_GTEST_MAIN} )
Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ class ComputeKernelEnvironment : public ::testing::Environment {
3535
3636} // namespace
3737
38- #ifdef _WIN32
38+ #if defined( _WIN32) && !defined(_WIN64)
3939// Initialize the compute module
4040::testing::Environment* compute_kernels_env =
4141 ::testing::AddGlobalTestEnvironment (new ComputeKernelEnvironment);
4242#endif
4343
4444} // namespace arrow::compute
4545
46- #ifndef _WIN32
46+ #if !(defined( _WIN32) && !defined(_WIN64))
4747int main (int argc, char ** argv) {
4848 ::testing::InitGoogleTest (&argc, argv);
4949 ::testing::AddGlobalTestEnvironment (new arrow::compute::ComputeKernelEnvironment);
You can’t perform that action at this time.
0 commit comments