Skip to content

Commit

Permalink
Added header guard for IMGUI_DEFINE_MATH_OPERATORS (#546, #449)
Browse files Browse the repository at this point in the history
  • Loading branch information
micb25 authored Oct 29, 2024
1 parent 33811aa commit 9be7915
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions implot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ You can read releases logs https://github.com/epezent/implot/releases for more d
*/

#ifndef IMGUI_DEFINE_MATH_OPERATORS
#define IMGUI_DEFINE_MATH_OPERATORS
#endif
#include "implot.h"
#include "implot_internal.h"

Expand Down
2 changes: 2 additions & 0 deletions implot_items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

// ImPlot v0.17

#ifndef IMGUI_DEFINE_MATH_OPERATORS
#define IMGUI_DEFINE_MATH_OPERATORS
#endif
#include "implot.h"
#include "implot_internal.h"

Expand Down

0 comments on commit 9be7915

Please sign in to comment.