vcpkg/ports/implot/fix-build.patch

15 lines
339 B
Diff
Raw Normal View History

diff --git a/implot.h b/implot.h
index 997d96f..fb1ff02 100644
--- a/implot.h
+++ b/implot.h
@@ -45,6 +45,9 @@
// [SECTION] Obsolete API
#pragma once
+#ifndef IMGUI_DEFINE_MATH_OPERATORS
+#define IMGUI_DEFINE_MATH_OPERATORS
+#endif
#include "imgui.h"
//-----------------------------------------------------------------------------