yuzu/externals/vcpkg/ports/caffe2/no-inout-macros.patch

19 lines
409 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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_