Undef 'Status' in main header file. (#8751, #8765)

This commit is contained in:
ocornut
2025-07-07 14:51:42 +02:00
parent 68971223aa
commit 495d6f1e39
3 changed files with 4 additions and 3 deletions

View File

@@ -97,6 +97,7 @@
#ifndef IM_MAX
#define IM_MAX(A, B) (((A) >= (B)) ? (A) : (B))
#endif
#undef Status // X11 headers are leaking this.
// Visual Studio warnings
#ifdef _MSC_VER