vcpkg/ports/implot/fix-build.patch
Nick a685c5b764
[imgui] update to 1.89.4 (#30262)
* [imgui] update to 1.89.4

* [imguizmo] fix build

* [implot] fix build
2023-03-21 13:23:47 -07:00

15 lines
339 B
Diff

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"
//-----------------------------------------------------------------------------