mirror of
https://github.com/ocornut/imgui.git
synced 2024-12-01 02:37:24 +01:00
Add conditional #ifdef prior to imconfig.h to facilitate inclusion in build systems (#255)
This commit is contained in:
parent
7437b43b2d
commit
fd3c6067bf
2
imgui.h
2
imgui.h
@ -6,7 +6,9 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H)
|
||||||
#include "imconfig.h" // User-editable configuration file
|
#include "imconfig.h" // User-editable configuration file
|
||||||
|
#endif
|
||||||
#include <float.h> // FLT_MAX
|
#include <float.h> // FLT_MAX
|
||||||
#include <stdarg.h> // va_list
|
#include <stdarg.h> // va_list
|
||||||
#include <stddef.h> // ptrdiff_t, NULL
|
#include <stddef.h> // ptrdiff_t, NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user