Skip to content

Commit fd3c606

Browse files
committed
Add conditional #ifdef prior to imconfig.h to facilitate inclusion in build systems (#255)
1 parent 7437b43 commit fd3c606

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

imgui.h

+2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
#pragma once
88

9+
#if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H)
910
#include "imconfig.h" // User-editable configuration file
11+
#endif
1012
#include <float.h> // FLT_MAX
1113
#include <stdarg.h> // va_list
1214
#include <stddef.h> // ptrdiff_t, NULL

0 commit comments

Comments
 (0)