pineapple/externals/vcpkg/ports/caffe2/no-inout-macros.patch
2022-07-23 03:01:36 +02:00

18 lines
409 B
Diff
Executable file

diff --git a/caffe2/core/logging_is_google_glog.h b/caffe2/core/logging_is_google_glog.h
index 2df4435..408bb4a 100644
--- a/caffe2/core/logging_is_google_glog.h
+++ b/caffe2/core/logging_is_google_glog.h
@@ -30,5 +30,13 @@ INSTANTIATE_FOR_CONTAINER(std::set)
#include <glog/logging.h>
+#ifdef IN
+#undef IN
+#endif
+
+#ifdef OUT
+#undef OUT
+#endif
+
#endif // CAFFE2_CORE_LOGGING_IS_GOOGLE_GLOG_H_