pitrou commented on a change in pull request #10234:
URL: https://github.com/apache/arrow/pull/10234#discussion_r625655299



##########
File path: cpp/src/parquet/types.h
##########
@@ -17,6 +17,16 @@
 
 #pragma once
 
+#ifdef _WIN32
+
+// parquet.thrift's OPTIONAL RepetitionType conflicts with a #define from
+// above, so we undefine it
+#ifdef OPTIONAL
+#undef OPTIONAL
+#endif

Review comment:
       Can you move this after the includes? Also, can you update the comment 
(there is no "define from above")?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to