mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
Hopefully fix imgui compile on FreeBSD and DragonFly (nw)
This commit is contained in:
parent
81c3d47a6c
commit
09ff284fa2
@ -18,9 +18,11 @@
|
|||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
|
|
||||||
#include <stdio.h> // vsnprintf, sscanf, printf
|
#include <stdio.h> // vsnprintf, sscanf, printf
|
||||||
#if !defined(alloca) && !defined(__FreeBSD__) && !defined(__DragonFly__)
|
#if !defined(alloca)
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32)
|
||||||
#include <malloc.h> // alloca
|
#include <malloc.h> // alloca
|
||||||
|
#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||||
|
#include <stdlib.h> // alloca
|
||||||
#else
|
#else
|
||||||
#include <alloca.h> // alloca
|
#include <alloca.h> // alloca
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user