1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Examples: include for intptr_t on tdm-gcc + mingw32 (#1936) + mouse buttons comments

This commit is contained in:
omar 2018-07-11 12:23:46 +02:00
parent 9007dff5eb
commit 59fb3274a7
3 changed files with 13 additions and 3 deletions

View file

@ -27,6 +27,11 @@
#include "imgui.h"
#include "imgui_impl_opengl2.h"
#if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier
#include <stddef.h> // intptr_t
#else
#include <stdint.h> // intptr_t
#endif
// Include OpenGL header (without an OpenGL loader) requires a bit of fiddling
#if defined(_WIN32) && !defined(APIENTRY)