Internals: Move IMGUI_CDECL declaration to imgui_internal.h so everyone can profit.

This commit is contained in:
omar
2018-07-03 18:28:46 +02:00
parent c7016c25e8
commit 7033b2043b
2 changed files with 7 additions and 7 deletions

View File

@ -839,13 +839,6 @@
#endif
#endif
// Enforce cdecl calling convention for functions called by the standard library, in case compilation settings changed the default to e.g. __vectorcall
#ifdef _MSC_VER
#define IMGUI_CDECL __cdecl
#else
#define IMGUI_CDECL
#endif
static const ImS32 IM_S32_MIN = 0x80000000; // INT_MIN;
static const ImS32 IM_S32_MAX = 0x7FFFFFFF; // INT_MAX;
static const ImU32 IM_U32_MIN = 0;