mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Fix warning when IMGUI_DEFINE_MATH_OPERATORS is already defined by build system. (#1950)
This commit is contained in:
parent
0c207b7bc9
commit
7e59eb026b
2 changed files with 4 additions and 0 deletions
|
|
@ -794,7 +794,9 @@
|
|||
#endif
|
||||
|
||||
#include "imgui.h"
|
||||
#ifndef IMGUI_DEFINE_MATH_OPERATORS
|
||||
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||
#endif
|
||||
#include "imgui_internal.h"
|
||||
|
||||
#include <ctype.h> // toupper, isprint
|
||||
|
|
|
|||
|
|
@ -14,7 +14,9 @@
|
|||
#endif
|
||||
|
||||
#include "imgui.h"
|
||||
#ifndef IMGUI_DEFINE_MATH_OPERATORS
|
||||
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||
#endif
|
||||
#include "imgui_internal.h"
|
||||
|
||||
#include <stdio.h> // vsnprintf, sscanf, printf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue