Skip to content

Commit

Permalink
Fix missing include on some systems to use intptr_t. (#2036, #2054)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Aug 31, 2018
1 parent 5d40d29 commit 767649a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions imgui_widgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ Index of this file:
#include "imgui_internal.h"

#include <ctype.h> // toupper, isprint
#if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier
#include <stddef.h> // intptr_t
#else
#include <stdint.h> // intptr_t
#endif

// Visual Studio warnings
#ifdef _MSC_VER
Expand Down

0 comments on commit 767649a

Please sign in to comment.