]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/iavf/iavf_osdep.h
raw/ioat: allow perform operations function to return error
[dpdk.git] / drivers / common / iavf / iavf_osdep.h
index eaefde88e53e381fca9a0cdb0fda8e8c6c56b898..76c186a5b8c274255f6635dc671c7dccc2baa9bb 100644 (file)
@@ -55,6 +55,15 @@ typedef uint64_t        s64;
 #define __be64          uint64_t
 #endif
 
+/* Avoid macro redefinition warning on Windows */
+#ifdef RTE_EXEC_ENV_WINDOWS
+#ifdef min
+#undef min
+#endif
+#ifdef max
+#undef max
+#endif
+#endif
 #define min(a, b) RTE_MIN(a, b)
 #define max(a, b) RTE_MAX(a, b)