Skip to content

Commit

Permalink
Add conditional #ifdef prior to imconfig.h to facilitate inclusion in…
Browse files Browse the repository at this point in the history
… build systems (#255)
  • Loading branch information
ocornut committed Jul 3, 2015
1 parent 7437b43 commit fd3c606
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

#pragma once

#if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H)
#include "imconfig.h" // User-editable configuration file
#endif
#include <float.h> // FLT_MAX
#include <stdarg.h> // va_list
#include <stddef.h> // ptrdiff_t, NULL
Expand Down

0 comments on commit fd3c606

Please sign in to comment.