mirror of
https://github.com/aap/librw.git
synced 2026-01-24 03:52:56 +00:00
Fix compilation with MinGW
This commit is contained in:
@@ -26,11 +26,13 @@
|
||||
#endif
|
||||
#include "imgui_internal.h"
|
||||
#include "ImGuizmo.h"
|
||||
#if !defined(_WIN32)
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#if !defined(_MSC_VER) && !defined(__MINGW64_VERSION_MAJOR)
|
||||
#define _malloca(x) alloca(x)
|
||||
#define _freea(x)
|
||||
#else
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
// includes patches for multiview from
|
||||
|
||||
Reference in New Issue
Block a user